]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
Speed optimization: add headers and gzip commands.
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>
Mon, 23 Feb 2009 17:15:54 +0000 (17:15 +0000)
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>
Mon, 23 Feb 2009 17:15:54 +0000 (17:15 +0000)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@293 b3834d28-1941-0410-a4f8-b48e95affb8f

.htaccess

index 27fd434d7a1c5db2688efb5f7f0a12666925a1c5..53778b5fab15e7155e5950791d92dad751ec14b7 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -17,5 +17,19 @@ RewriteRule ^([^/.]+)/?(.*)$ $1.php/$2 [QSA,L]
 # This second part is used to speed-up the application
 #####################################
 
+<IfModule mod_expires.c>
+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"
+</IfModule>
 
 
+<IfModule mod_deflate.c>
+#<FilesMatch "\.(js|css)$">
+SetOutputFilter DEFLATE
+#</FilesMatch>
+</IfModule>