vakarj

Untitled

Feb 15th, 2019
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. ## EXPIRES CACHING ##
  2. <IfModule mod_expires.c>
  3. ExpiresActive On
  4.  
  5. # Images
  6. ExpiresByType image/jpeg "access plus 1 year"
  7. ExpiresByType image/gif "access plus 1 year"
  8. ExpiresByType image/png "access plus 1 year"
  9. ExpiresByType image/webp "access plus 1 year"
  10. ExpiresByType image/svg+xml "access plus 1 year"
  11. ExpiresByType image/x-icon "access plus 1 year"
  12.  
  13.  
  14. # CSS, JavaScript
  15. ExpiresByType text/css "access plus 1 month"
  16. ExpiresByType text/x-javascript "access plus 1 month"
  17. ExpiresByType application/javascript "access plus 1 month"
  18. ExpiresByType application/x-javascript "access plus 1 month"
  19.  
  20. </IfModule>
  21. ## EXPIRES CACHING ##
Advertisement
Add Comment
Please, Sign In to add comment