.htaccess 898 B

123456789101112131415161718192021222324252627282930313233
  1. <IfModule mod_dir.c>
  2. DirectoryIndex index.php index.html
  3. </IfModule>
  4. FileETag None
  5. AddDefaultCharset UTF-8
  6. <IfModule mod_mime.c>
  7. AddCharset UTF-8 .html
  8. AddCharset UTF-8 .js
  9. </IfModule>
  10. <IfModule mod_deflate.c>
  11. AddOutputFilterByType DEFLATE application/javascript application/json application/xhtml+xml image/svg+xml text/css text/html text/javascript
  12. </IfModule>
  13. <IfModule mod_expires.c>
  14. ExpiresActive on
  15. ExpiresByType application/javascript "access plus 1 month"
  16. ExpiresByType application/xhtml+xml "access plus 1 month"
  17. ExpiresByType image/x-icon "access plus 1 month"
  18. ExpiresByType text/html "access plus 1 month"
  19. ExpiresByType text/javascript "access plus 1 month"
  20. <FilesMatch "\.php$">
  21. ExpiresActive Off
  22. </FilesMatch>
  23. </IfModule>
  24. <IfModule mod_headers.c>
  25. <FilesMatch "\.(css|gif|html|ico|js|png|svg|woff)$">
  26. Header merge Cache-Control "public"
  27. </FilesMatch>
  28. </IfModule>