summaryrefslogtreecommitdiff
path: root/.htaccess
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-04-22 09:45:03 +0000
committerDries Buytaert <dries@buytaert.net>2009-04-22 09:45:03 +0000
commit526401c4c8f7e1a8126c4810a7d7023c4f8bafc5 (patch)
tree27de106e9904b714e62a02c2f579a28743a4fded /.htaccess
parent2bc19555bfca04551333e361509c2f51841e16c2 (diff)
downloadbrdo-526401c4c8f7e1a8126c4810a7d7023c4f8bafc5.tar.gz
brdo-526401c4c8f7e1a8126c4810a7d7023c4f8bafc5.tar.bz2
- Patch #147310 by c960657 et al: better cache headers for reverse proxies.
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess6
1 files changed, 4 insertions, 2 deletions
diff --git a/.htaccess b/.htaccess
index c6494dca7..8b716677d 100644
--- a/.htaccess
+++ b/.htaccess
@@ -48,8 +48,10 @@ DirectoryIndex index.php
# Cache all files for 2 weeks after access (A).
ExpiresDefault A1209600
- # Do not cache dynamically generated pages.
- ExpiresByType text/html A1
+ <Files index.php>
+ # Caching headers for dynamically generated pages are set from PHP.
+ ExpiresActive Off
+ </Files>
</IfModule>
# Various rewrite rules.