Specify a Vary: Accept-Encoding Header
·
This plugin fixes a "Vary: Accept-Encoding Header" message and boosts website performance.
評価
4/5
バージョン
1.0.0
有効インストール数
300
最終更新日時
Apr 13, 2018
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 >
