diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-06-29 21:38:22 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-06-29 21:38:22 -0700 |
commit | 3a260ed3f74a7db6484a39c4d2ac25fb12a5626e (patch) | |
tree | 37b5ddbc0334a298c39a1158c177b13215b851f4 | |
parent | 980c589e3d674b31a2ee734e2767b6460edfc4da (diff) |
Add instructions for using mod_expires
-rw-r--r-- | .htaccess | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -10,11 +10,25 @@ </IfModule> # Try to disable the parts of mod_security that interfere with the Flash uploader +# <IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </IfModule> +# Improve performance by uncommenting this block. It tells the +# browser that your images don't change very often so it won't keep +# asking for them. If you get an error after uncommenting this, make +# sure you specify "AuthConfig Indexes" in your Apache config file. +# +# <IfModule mod_expires.c> +# ExpiresActive On +# # Cache all files for a month after access (A). +# ExpiresDefault A2678400 +# # Do not cache dynamically generated pages. +# ExpiresByType text/html A1 +# </IfModule> + # You can use mod_rewrite to enable short urls in Gallery 3 (which # gets rid of the "index.php" from your urls). To do this, you must # uncomment the block below that starts with <IfModule> and ends with |