Update cache example
This commit is contained in:
parent
8b446faa53
commit
e5aa79364a
@ -5,4 +5,17 @@ Require all denied
|
|||||||
<IfVersion < 2.3>
|
<IfVersion < 2.3>
|
||||||
Order deny, allow
|
Order deny, allow
|
||||||
Denied from all
|
Denied from all
|
||||||
</IfVersion>
|
</IfVersion>
|
||||||
|
|
||||||
|
|
||||||
|
# OPTIMIZE: To use cache on static pages (A259200 = 1 month, A7200 = 2 hours).
|
||||||
|
# Note that you must also enable the module mod_expires.
|
||||||
|
#ExpiresActive On
|
||||||
|
#ExpiresByType image/x-icon A2592000
|
||||||
|
#ExpiresByType image/gif A2592000
|
||||||
|
#ExpiresByType image/png A2592000
|
||||||
|
#ExpiresByType image/jpeg A2592000
|
||||||
|
#ExpiresByType text/css A2592000
|
||||||
|
#ExpiresByType text/javascript A2592000
|
||||||
|
#ExpiresByType application/x-javascript A2592000
|
||||||
|
#ExpiresByType application/javascript A2592000
|
||||||
|
|||||||
@ -745,7 +745,7 @@ SSLCertificateKeyFile "WAMPROOT/myserver.key"
|
|||||||
# You can also set this with constant MAIN_OPTIMIZE_SPEED and bit 2 set.
|
# You can also set this with constant MAIN_OPTIMIZE_SPEED and bit 2 set.
|
||||||
#TODO
|
#TODO
|
||||||
|
|
||||||
# OPTIMIZE: To use cache on static pages (A259200 = 1 month).
|
# OPTIMIZE: To use cache on static pages (A259200 = 1 month, A7200 = 2 hours).
|
||||||
# Note that you must also enable the module mod_expires.
|
# Note that you must also enable the module mod_expires.
|
||||||
#ExpiresActive On
|
#ExpiresActive On
|
||||||
#ExpiresByType image/x-icon A2592000
|
#ExpiresByType image/x-icon A2592000
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user