Created
January 30, 2014 18:20
-
-
Save mcordingley/8715216 to your computer and use it in GitHub Desktop.
Common .htaccess Options
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/jpeg A604800 | |
ExpiresByType image/gif A604800 | |
ExpiresByType image/png A604800 | |
ExpiresByType text/css A604800 | |
ExpiresByType application/x-javascript A604800 | |
ExpiresByType application/javascript A604800 | |
ExpiresByType text/javascript A604800 | |
</IfModule> | |
<IfModule mod_deflate.c> | |
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript text/javascript | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment