Created
April 12, 2010 15:34
-
-
Save joshmvandercom/363695 to your computer and use it in GitHub Desktop.
Simple GZIP compression and ETag removal using .htaccess
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<FilesMatch "\\.(js|css|html|htm|php|xml)$"> | |
SetOutputFilter DEFLATE | |
</FilesMatch> | |
<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$"> | |
Header set Expires "Thu, 15 Apr 2011 20:00:00 GMT" | |
Header unset ETag | |
FileETag None | |
</FilesMatch> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Simple GZIP compression and ETag removal using .htaccess