PageRenderTime 26ms CodeModel.GetById 22ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/.htaccess

http://showslow.googlecode.com/
#! | 38 lines | 33 code | 5 blank | 0 comment | 0 complexity | e11d6d7de560c56c58511eafb05feb96 MD5 | raw file
 1<IfModule mod_deflate.c>
 2SetEnv mod_deflate On
 3# Insert filter
 4SetOutputFilter DEFLATE
 5# Netscape 4.x has some problems...
 6BrowserMatch ^Mozilla/4 gzip-only-text/html
 7
 8# Netscape 4.06-4.08 have some more problems
 9BrowserMatch ^Mozilla/4\.0[678] no-gzip
10
11# NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48
12# the above regex won't work. You can use the following
13# workaround to get the desired effect:
14BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
15
16# Don't compress images
17SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png|ico)$ no-gzip
18</IfModule>
19
20<IfModule mod_rewrite.c>
21SetEnv mod_rewrite On
22RewriteEngine On
23RewriteRule .					-	[E=URLVERSIONREWRITE:YES]
24RewriteRule ^(.*)\.(\d+)(_m_\d+)?\.([^\.]+)$	$1.$4	[L,QSA]
25</IfModule>
26
27<IfModule mod_expires.c>
28SetEnv mod_expires On
29ExpiresActive On
30ExpiresByType image/png "access plus 1 year"
31ExpiresByType image/gif "access plus 1 year"
32ExpiresByType image/jpeg "access plus 1 year"
33ExpiresByType image/vnd.microsoft.icon "access plus 1 year"
34ExpiresByType text/css "access plus 1 year"
35ExpiresByType application/x-javascript "access plus 1 year"
36ExpiresByType application/javascript "access plus 1 year"
37ExpiresByType text/javascript "access plus 1 year"
38</IfModule>