This plugin will add a far future expiry header for various file types to improve page load speed.
Author: | Tips and Tricks HQ (profile at wordpress.org) |
WordPress version required: | 5.5 |
WordPress version tested: | 6.5 |
Plugin version: | 1.6 |
Added to WordPress repository: | 06-03-2014 |
Last updated: | 25-03-2024 |
Rating, %: | 68 |
Rated by: | 29 |
Plugin URI: | https://www.tipsandtricks-hq.com/wordpress-fa... |
Total downloads: | 220 282 |
Active installs: | 10 000+ |
Click to start download |
This plugin offers a few lightweight features to speed up your WordPress site without much hassle.
Far Future Expiry
When the feature is enabled, this plugin will modify your .htaccess file by inserting code which will add expires headers for common static file types.
Expiry header specifies a time far enough in the future so that browsers won’t try to re-fetch images, CSS, javascript etc files that haven’t changed (this reduces the number of HTTP requests) and hence the performance improvement on subsequent page views.
Gzip Compression
You can also enable Gzip compression on your site using this plugin. Gzip compression will speed up your WordPress site by compressing the page output and sending it to your visitors browser.
When enabled, the plugin will do gzip compression if the visitor’s browser can handle it.
This feature may conflict with a few other plugins. So disable this feature if you need to use a plugin which doesn’t work with gzip compression.
Usage
To use this plugin do the following:
1) Ensure that the “mod_expires” module is enabled from your host’s main configuration file
2) Check with your hosting provider or if you have access to the httpd.conf file the following line should be uncommented:
LoadModule expires_module modules/mod_expires.so
3) Enable the “Far Future Expiration” checkbox
4) Set the number of days till expiry
5) Select the file types you wish to enable the “far future expiration” feature for by using the checkboxes in the “File Types” section
NOTE: When you use this plugin, the file selected file types are cached in the browser until they expire. Therefore you should not use this on files that change frequently.
More details can be found on the plugin’s documentation page
FAQ
ChangeLog