Skip to content

Instantly share code, notes, and snippets.

@danielmcclure
Created November 28, 2017 00:22
Show Gist options
  • Save danielmcclure/54928e97eec59a452931386a57bfe849 to your computer and use it in GitHub Desktop.
Save danielmcclure/54928e97eec59a452931386a57bfe849 to your computer and use it in GitHub Desktop.
Specify a Vary: Accept-Encoding Header in .htaccess
<IfModule mod_headers.c>
<FilesMatch ".(js|css|xml|gz|html)$">
Header append Vary: Accept-Encoding
</FilesMatch>
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment