.htaccess 542 B

12345678910111213141516
  1. <IfModule mod_expires.c>
  2. ExpiresActive On
  3. # Images
  4. ExpiresByType image/jpeg "access plus 1 year"
  5. ExpiresByType image/gif "access plus 1 year"
  6. ExpiresByType image/png "access plus 1 year"
  7. ExpiresByType image/webp "access plus 1 year"
  8. ExpiresByType image/svg+xml "access plus 1 year"
  9. ExpiresByType image/x-icon "access plus 1 year"
  10. # CSS, JavaScript
  11. ExpiresByType text/css "access plus 1 month"
  12. ExpiresByType text/javascript "access plus 1 month"
  13. ExpiresByType application/javascript "access plus 1 month"
  14. </IfModule>