summaryrefslogtreecommitdiff
path: root/.htaccess
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-02-23 17:15:54 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-02-23 17:15:54 +0000
commite9c9d8b22b20d15e5165dc85d5cf02ea9e47949d (patch)
tree7b463885d0b4c31306b2378b8784af926930811a /.htaccess
parent0c81abaa3e6319fb729f6924c8d8ffb7393a5072 (diff)
downloadsemanticscuttle-e9c9d8b22b20d15e5165dc85d5cf02ea9e47949d.tar.gz
semanticscuttle-e9c9d8b22b20d15e5165dc85d5cf02ea9e47949d.tar.bz2
Speed optimization: add headers and gzip commands.
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@293 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess14
1 files changed, 14 insertions, 0 deletions
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
#####################################
+<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>