Created
March 7, 2016 09:53
-
-
Save Andreyco/d09c128c46fb033e01a6 to your computer and use it in GitHub Desktop.
Control assets versions via mod_expires
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
<IfModule mod_expires.c> | |
ExpiresActive On | |
ExpiresByType image/jpg "modification" | |
ExpiresByType image/jpeg "modification" | |
ExpiresByType image/gif "modification" | |
ExpiresByType image/png "modification" | |
ExpiresByType text/css "modification" | |
ExpiresByType application/pdf "modification" | |
ExpiresByType text/x-javascript "modification" | |
ExpiresByType application/x-shockwave-flash "modification" | |
ExpiresByType image/x-icon "modification" | |
ExpiresDefault "modification" | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment