plugin-icon

Specify a Vary: Accept-Encoding Header

作者:lithiumsixteen·
This plugin fixes a "Vary: Accept-Encoding Header" message and boosts website performance.
评级
4/5
版本
1.0.0
活跃安装
300
最后更新
Apr 13, 2018
Specify a Vary: Accept-Encoding Header

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 >
免费使用Business套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 4.9.28
这个插件是可用的下载,适用于您的站点。