From c2e76dee24038b994734b0bf93d4abc7d1379ea9 Mon Sep 17 00:00:00 2001
From: Lars Jung <lrsjng@gmail.com>
Date: Sun, 25 Mar 2012 00:09:04 +0100
Subject: [PATCH] Caches h5ai files only for 7 days now.

---
 src/_h5ai/.htaccess | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/_h5ai/.htaccess b/src/_h5ai/.htaccess
index be958da7..39567eb6 100644
--- a/src/_h5ai/.htaccess
+++ b/src/_h5ai/.htaccess
@@ -1,5 +1,4 @@
 
-
 Options  -Indexes
 
 AddType  text/html  .php
@@ -9,6 +8,7 @@ AddType  text/html  .php
 # if php doesn't get interpreted try to
 # uncomment one of the following lines
 ###########################################
+
 #AddHandler  application/x-httpd-php  .php
 #AddHandler  application/x-httpd-php5  .php
 #AddHandler  application/x-httpd-php52  .php
@@ -19,19 +19,19 @@ AddType  text/html  .php
 #AddHandler  php53-script  .php
 
 
-# cache images, css and js for 52 weeks
+# cache images, css and js for 7 days
 <IfModule headers_module>
 	<FilesMatch "\.png$">
-		Header set Cache-Control "max-age=31449600, public"
+		Header set Cache-Control "max-age=604800, public"
 	</FilesMatch>
 	<FilesMatch "\.css$">
-		Header set Cache-Control "max-age=31449600, public"
+		Header set Cache-Control "max-age=604800, public"
 	</FilesMatch>
 	<FilesMatch "\.js$">
-		Header set Cache-Control "max-age=31449600, public"
+		Header set Cache-Control "max-age=604800, public"
 	</FilesMatch>
 	<FilesMatch "thumb-.*\.jpg$">
-		Header set Cache-Control "max-age=31449600, public"
+		Header set Cache-Control "max-age=604800, public"
 	</FilesMatch>
 </IfModule>