Skip to content

Instantly share code, notes, and snippets.

@jbreitenbucher
Created May 3, 2012 15:11
Show Gist options
  • Save jbreitenbucher/2586365 to your computer and use it in GitHub Desktop.
Save jbreitenbucher/2586365 to your computer and use it in GitHub Desktop.
Code to remove Vary
<FilesMatch "\.(oga | ogg | m4a | ogv | mp4 | m4v | webm)$" >
<IfModule mod_headers.c>
Header append Vary User-Agent env=!dont-vary
Header append Vary Host env=!dont-vary
Header append Vary Accept-Encoding env=!dont-vary
</IfModule>
</FilesMatch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment