Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <IfModule mod_expires.c>
- ############################################
- ## Add default Expires header
- ## http://developer.yahoo.com/performance/rules.html#expires
- # Enable expirations
- ExpiresActive On
- # Default directive
- ExpiresDefault "access plus 1 month"
- # My favicon
- ExpiresByType image/x-icon "access plus 1 year"
- # Images
- ExpiresByType image/gif "access plus 1 month"
- ExpiresByType image/png "access plus 1 month"
- ExpiresByType image/jpg "access plus 1 month"
- ExpiresByType image/jpeg "access plus 1 month"
- # CSS
- ExpiresByType text/css "access 1 month"
- # Javascript
- ExpiresByType application/javascript "access plus 1 year"
- ExpiresByType application/js "access plus 1 year"
- </IfModule>
Add Comment
Please, Sign In to add comment