
Specify a Vary: Accept-Encoding Header
v1.0.0lithiumsixteen · 2018年4月13日 上架
This plugin fixes a "Vary: Accept-Encoding Header" message and boosts website performance.
- 正在使用
- 100+
- 评分
- 4.0 / 5
- 累计下载
- 6,284
- 最近更新
- 2018年4月13日
4 条评价需要 WordPress 3.0.1+已测试到 4.9.36PHP 5.2+
贡献者
截图
Many WordPress performance plugins are bloated and include features that you don’t need. This plugin does just one thing. It adds a “Vary: Accept-Encoding Header” to boost website performance.
When browsers make a request, they include HTTP headers for the server to decide what to send back. The Vary header describes what information identifies a request. Caches should only be used if the request matches the Vary information in the cache.
This plugin adds a rewrite rule to your WordPress directory’s .htaccess Apache file.
< IfModule mod_headers.c >
< FilesMatch \".(js|css|xml|gz|html)$\" >
Header append Vary: Accept-Encoding
< /FilesMatch >
< /IfModule >

