From db9a20bd3bec3b28fc3bb18633206f8ec848e04c Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Sat, 7 May 2011 08:12:20 -0400 Subject: [PATCH] Caching. --- web/.htaccess | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/web/.htaccess b/web/.htaccess index 6bd5396..f86bccb 100644 --- a/web/.htaccess +++ b/web/.htaccess @@ -1,5 +1,18 @@ AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript application/json + + Header set Cache-Control "max-age=29030400, public" + + + Header set Cache-Control "max-age=5184000, public" + + + Header set Cache-Control "max-age=2678400, public" + + + Header set Cache-Control "max-age=86400, public" + + deny from all