mod_expires
This commit is contained in:
4
www/data/dynamic/.htaccess
Normal file
4
www/data/dynamic/.htaccess
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<IfModule mod_expires.c>
|
||||||
|
ExpiresActive On
|
||||||
|
ExpiresDefault "access plus 12 hours"
|
||||||
|
</IfModule>
|
||||||
8
www/data/images/.htaccess
Normal file
8
www/data/images/.htaccess
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<IfModule mod_expires.c>
|
||||||
|
ExpiresActive On
|
||||||
|
ExpiresByType image/jpg "access plus 1 week"
|
||||||
|
ExpiresByType image/jpeg "access plus 1 week"
|
||||||
|
ExpiresByType image/gif "access plus 1 week"
|
||||||
|
ExpiresByType image/png "access plus 1 week"
|
||||||
|
ExpiresByType image/svg+xml "access plus 1 day"
|
||||||
|
</IfModule>
|
||||||
Reference in New Issue
Block a user