🎉 Use coupon MYXERO to enjoy 20% recurring discount on any plan. View Pricing
Specify a Vary: Accept-Encoding Header
Specify a Vary: Accept-Encoding Header

Specify a Vary: Accept-Encoding Header

4/5 (4 ratings) 200 active installs Updated Apr 13, 2018
Example Page Speed Scores before installing

Example Page Speed Scores before installing

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 >