Created
October 10, 2016 20:41
-
-
Save jetchirag/d21667b0ac86a96920c6b14ed4043939 to your computer and use it in GitHub Desktop.
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
#Expire Header | |
<FilesMatch "\.(ico|jpg|jpeg|png|gif|js|css|swf)$"> | |
ExpiresDefault "access plus 2 hours" | |
</FilesMatch> | |
or | |
# Expire images header | |
ExpiresActive On | |
ExpiresByType image/gif A2592000 | |
ExpiresByType image/png A2592000 | |
ExpiresByType image/jpg A2592000 | |
ExpiresByType image/jpeg A2592000 | |
ExpiresByType text/css A2592000 | |
ExpiresByType text/javascript A2592000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment