Guest User

Untitled

a guest
Mar 17th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. <IfModule mod_expires.c>
  2. ############################################
  3. ## Add default Expires header
  4. ## http://developer.yahoo.com/performance/rules.html#expires
  5. # Enable expirations
  6. ExpiresActive On
  7. # Default directive
  8. ExpiresDefault "access plus 1 month"
  9. # My favicon
  10. ExpiresByType image/x-icon "access plus 1 year"
  11. # Images
  12. ExpiresByType image/gif "access plus 1 month"
  13. ExpiresByType image/png "access plus 1 month"
  14. ExpiresByType image/jpg "access plus 1 month"
  15. ExpiresByType image/jpeg "access plus 1 month"
  16. # CSS
  17. ExpiresByType text/css "access 1 month"
  18. # Javascript
  19. ExpiresByType application/javascript "access plus 1 year"
  20. ExpiresByType application/js "access plus 1 year"
  21. </IfModule>
Add Comment
Please, Sign In to add comment