From: mensonge Date: Mon, 23 Feb 2009 17:15:54 +0000 (+0000) Subject: Speed optimization: add headers and gzip commands. X-Git-Tag: v0.94~91 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=e9c9d8b22b20d15e5165dc85d5cf02ea9e47949d;p=semanticscuttle.git Speed optimization: add headers and gzip commands. git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@293 b3834d28-1941-0410-a4f8-b48e95affb8f --- diff --git a/.htaccess b/.htaccess index 27fd434..53778b5 100644 --- a/.htaccess +++ b/.htaccess @@ -17,5 +17,19 @@ RewriteRule ^([^/.]+)/?(.*)$ $1.php/$2 [QSA,L] # This second part is used to speed-up the application ##################################### + +ExpiresActive On + +ExpiresByType image/ico "access plus 15 days" +ExpiresByType image/png "access plus 15 days" +ExpiresByType image/gif "access plus 15 days" +ExpiresByType text/js "access plus 15 days" +ExpiresByType text/css "access plus 15 days" + + +# +SetOutputFilter DEFLATE +# +