diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-04-22 09:45:03 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-04-22 09:45:03 +0000 |
commit | 526401c4c8f7e1a8126c4810a7d7023c4f8bafc5 (patch) | |
tree | 27de106e9904b714e62a02c2f579a28743a4fded /.htaccess | |
parent | 2bc19555bfca04551333e361509c2f51841e16c2 (diff) | |
download | brdo-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-- | .htaccess | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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. |