Advertisement
Guest User

Untitled

a guest
Jun 19th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. # Leverage browser caching
  2. ## EXPIRES CACHING ##
  3. <IfModule mod_expires.c>
  4. ExpiresActive On
  5. ExpiresDefault "access plus 1 month"
  6. ExpiresByType image/jpg "access plus 1 year"
  7. ExpiresByType image/jpeg "access plus 1 year"
  8. ExpiresByType image/gif "access plus 1 year"
  9. ExpiresByType image/png "access plus 1 year"
  10. ExpiresByType image/x-icon "access plus 1 year"
  11. ExpiresByType text/css "access plus 1 month"
  12. ExpiresByType application/pdf "access plus 1 month"
  13. ExpiresByType text/x-javascript "access plus 1 month"
  14. ExpiresByType application/x-shockwave-flash "access plus 1 month"
  15. ExpiresByType image/x-icon "access plus 1 year"
  16. ExpiresDefault "access plus 2 days"
  17. </IfModule>
  18. ## EXPIRES CACHING ##
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement