Created
April 24, 2017 11:09
-
-
Save psics/7165879c7c29b4fadaecc49ab29d17d1 to your computer and use it in GitHub Desktop.
Для pagespeed
This file contains 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
<IfModule mod_expires.c> | |
<FilesMatch \.(gif|png|jpg|jpeg|ogg|mp4|mkv|flv|swf|wmv|asf|asx|wma|wax|wmx|wm)$> | |
ExpiresDefault "access plus 1 year" | |
</FilesMatch> | |
ExpiresActive on | |
ExpiresByType image/jpeg "access plus 7 day" | |
ExpiresByType image/gif "access plus 7 day" | |
ExpiresByType image/png "access plus 7 day" | |
<FilesMatch \.(css|js)$> | |
ExpiresDefault "access plus 1 year" | |
</FilesMatch> | |
ExpiresByType text/css "access plus 1 year" | |
ExpiresByType application/javascript "access plus 1 year" | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment