mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 05:14:53 -05:00
26
.htaccess
26
.htaccess
@@ -1,17 +1,13 @@
|
|||||||
ErrorDocument 404 https://cardconjurer.com/404.php
|
ErrorDocument 404 https://cardconjurer.com/404.php
|
||||||
|
|
||||||
# Leverage browser caching using mod_expires #
|
<filesMatch ".(svg|jpg|jpeg|png|gif|ico)$">
|
||||||
<IfModule mod_expires.c>
|
Header set Cache-Control "max-age=31536000, public"
|
||||||
ExpiresActive On
|
</filesMatch>
|
||||||
ExpiresByType image/jpg "access plus 1 year"
|
|
||||||
ExpiresByType image/jpeg "access plus 1 year"
|
<filesMatch ".(css)$">
|
||||||
ExpiresByType image/gif "access plus 1 year"
|
Header set Cache-Control "max-age=604800, public"
|
||||||
ExpiresByType image/png "access plus 1 year"
|
</filesMatch>
|
||||||
ExpiresByType text/css "access plus 1 month"
|
|
||||||
ExpiresByType application/pdf "access plus 1 month"
|
<filesMatch ".(js|php|html)$">
|
||||||
ExpiresByType text/x-javascript "access plus 1 month"
|
Header set Cache-Control "max-age=86400, public"
|
||||||
ExpiresByType application/x-shockwave-flash "access plus 1 month"
|
</filesMatch>
|
||||||
ExpiresByType image/x-icon "access plus 1 year"
|
|
||||||
ExpiresDefault "access plus 2 days"
|
|
||||||
</IfModule>
|
|
||||||
# End of Leverage browser caching using mod_expires #
|
|
Reference in New Issue
Block a user