Created
August 28, 2011 16:33
-
-
Save ninetwentyfour/1176878 to your computer and use it in GitHub Desktop.
Improve YSlow Score With .htaccess - blogpost
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
Header unset ETag | |
FileETag None | |
<FilesMatch "\.(css|js)$"> | |
SetOutputFilter DEFLATE | |
</FilesMatch> | |
<FilesMatch "\.(mov|otf|eot|ttf|ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$"> | |
Header set Expires "Thu, 15 Apr 2010 20:00:00 GMT" | |
</FilesMatch> |
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
Header unset ETag | |
FileETag None |
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 "\.(css|js)$"> | |
SetOutputFilter DEFLATE | |
</FilesMatch> |
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 "\.(mov|otf|eot|ttf|ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$"> | |
Header set Expires "Thu, 15 Apr 2010 20:00:00 GMT" | |
</FilesMatch> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment