mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-04-11 11:35:53 +00:00
disable caching for now
This commit is contained in:
parent
1a90d6bf8e
commit
1f34bb28e5
1 changed files with 15 additions and 15 deletions
30
.htaccess
30
.htaccess
|
|
@ -1,18 +1,18 @@
|
|||
AddType application/rss+xml rss
|
||||
AddOutputFilterByType DEFLATE application/rss+xml text/css application/javascript text/html
|
||||
|
||||
# Turn on Expires and set default expires to 3 days
|
||||
ExpiresActive On
|
||||
ExpiresDefault A259200
|
||||
|
||||
# Set up caching on media files for 1 month
|
||||
<FilesMatch "\.(ico|gif|jpg|jpeg|png|pdf|mov|mp3)$">
|
||||
ExpiresDefault A2419200
|
||||
Header append Cache-Control "public"
|
||||
</FilesMatch>
|
||||
|
||||
# Set up 2 week caching on commonly updated files
|
||||
<FilesMatch "\.(xml|txt|html|js|css|rss)$">
|
||||
ExpiresDefault A1209600
|
||||
Header append Cache-Control "private, must-revalidate"
|
||||
</FilesMatch>
|
||||
# # Turn on Expires and set default expires to 3 days
|
||||
# ExpiresActive On
|
||||
# ExpiresDefault A259200
|
||||
#
|
||||
# # Set up caching on media files for 1 month
|
||||
# <FilesMatch "\.(ico|gif|jpg|jpeg|png|pdf|mov|mp3)$">
|
||||
# ExpiresDefault A2419200
|
||||
# Header append Cache-Control "public"
|
||||
# </FilesMatch>
|
||||
#
|
||||
# # Set up 2 week caching on commonly updated files
|
||||
# <FilesMatch "\.(xml|txt|html|js|css|rss)$">
|
||||
# ExpiresDefault A1209600
|
||||
# Header append Cache-Control "private, must-revalidate"
|
||||
# </FilesMatch>
|
||||
|
|
|
|||
Loading…
Reference in a new issue