adjust caching
This commit is contained in:
parent
530a68f8b2
commit
852c39571d
@ -14,3 +14,22 @@ AddOutputFilterByType DEFLATE image/gif
|
|||||||
AddOutputFilterByType DEFLATE image/jpeg
|
AddOutputFilterByType DEFLATE image/jpeg
|
||||||
AddOutputFilterByType DEFLATE image/svg+xml
|
AddOutputFilterByType DEFLATE image/svg+xml
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
|
<IfModule mod_expires.c>
|
||||||
|
# Turn on the module.
|
||||||
|
ExpiresActive on
|
||||||
|
# Set the default expiry times.
|
||||||
|
ExpiresDefault "access plus 2 days"
|
||||||
|
ExpiresByType image/jpg "access plus 1 month"
|
||||||
|
ExpiresByType image/gif "access plus 1 month"
|
||||||
|
ExpiresByType image/jpeg "access plus 1 month"
|
||||||
|
ExpiresByType image/png "access plus 1 month"
|
||||||
|
ExpiresByType text/css "access plus 1 month"
|
||||||
|
ExpiresByType text/javascript "access plus 1 month"
|
||||||
|
ExpiresByType application/javascript "access plus 1 month"
|
||||||
|
ExpiresByType application/x-shockwave-flash "access plus 1 month"
|
||||||
|
ExpiresByType text/css "now plus 1 month"
|
||||||
|
ExpiresByType image/ico "access plus 1 month"
|
||||||
|
ExpiresByType image/x-icon "access plus 1 month"
|
||||||
|
ExpiresByType text/html "access plus 600 seconds"
|
||||||
|
</IfModule>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user