Guest User

Enable-browser cache WordPress htaccess

a guest
Nov 19th, 2015
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.53 KB | None | 0 0
  1. <IfModule mod_expires.c>
  2. ExpiresActive On
  3. ExpiresByType image/jpg "access 1 year"
  4. ExpiresByType image/jpeg "access 1 year"
  5. ExpiresByType image/gif "access 1 year"
  6. ExpiresByType image/png "access 1 year"
  7. ExpiresByType text/css "access 1 month"
  8. ExpiresByType text/html "access 1 month"
  9. ExpiresByType application/pdf "access 1 month"
  10. ExpiresByType text/x-javascript "access 1 month"
  11. ExpiresByType application/x-shockwave-flash "access 1 month"
  12. ExpiresByType image/x-icon "access 1 year"
  13. ExpiresDefault "access 1 month"
  14. </IfModule>
Add Comment
Please, Sign In to add comment