mirror of
https://github.com/voc/streaming-website
synced 2024-11-10 06:34:17 +00:00
Only Apply mod_expires rules if it is available in Apache
This commit is contained in:
parent
a24a67065c
commit
1d79de62ff
1 changed files with 5 additions and 3 deletions
|
@ -3,6 +3,8 @@ DirectoryIndex index.html
|
|||
# Show a known page in case of as miss
|
||||
ErrorDocument 404 /404.html
|
||||
|
||||
# Allow Caches & Proxies to Cache all resources
|
||||
ExpiresActive On
|
||||
ExpiresDefault "access plus 4 hours"
|
||||
<IfModule expires.c>
|
||||
# Allow Caches & Proxies to Cache all resources
|
||||
ExpiresActive On
|
||||
ExpiresDefault "access plus 4 hours"
|
||||
</IfModule>
|
||||
|
|
Loading…
Reference in a new issue