Far Future Expiry Header
开发者 |
Tips and Tricks HQ
|
更新时间 |
2024年11月13日 14:39 |
捐献地址: |
去捐款 |
PHP版本: |
3.5 及以上 |
WordPress版本: |
5.8 |
版权: |
GPLv2 or later |
详情介绍:
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.
安装:
- Upload the far-future-expiration.zip file from the Plugins -> Add New page in the WordPress administration panel.
- Activate the plugin through the "Plugins" menu in the WordPress administration panel.
常见问题:
Can I set a far future expiry header with this plugin?
Yes
Can I eanble gzip compression on my site using this plugin?
yes
更新日志:
1.4
- The far future expiry is written using days instead of hours so GT metrix can read it better.
1.3
- Added a new feature to enable gzip compression on the site
1.2
- Fixed a minor bug with the htacess rules.
1.1