Commit 9b26598c0416b1a05dd0c9d434abad023122eb38
1 parent
0cb24d30
htaccess
Showing
1 changed file
with
22 additions
and
0 deletions
Show diff stats
1 | +AddDefaultCharset utf-8 | |
2 | + | |
3 | +<IfModule mod_deflate.c> | |
4 | + AddOutputFilterByType DEFLATE text/plain | |
5 | + AddOutputFilterByType DEFLATE text/html | |
6 | + AddOutputFilterByType DEFLATE text/xml | |
7 | + AddOutputFilterByType DEFLATE text/css | |
8 | + AddOutputFilterByType DEFLATE application/xml | |
9 | + AddOutputFilterByType DEFLATE application/xhtml+xml | |
10 | + AddOutputFilterByType DEFLATE application/rss+xml | |
11 | + AddOutputFilterByType DEFLATE application/javascript | |
12 | + AddOutputFilterByType DEFLATE application/x-javascript | |
13 | + BrowserMatch ^Mozilla/4 gzip-only-text/html | |
14 | + BrowserMatch ^Mozilla/4\.0[678] no-gzip | |
15 | + BrowserMatch \bMSIE !no-gzip !gzip-only-text/html | |
16 | + Header append Vary User-Agent | |
17 | + RewriteEngine On | |
18 | + AddEncoding gzip .gz | |
19 | + RewriteCond %{HTTP:Accept-encoding} gzip | |
20 | + RewriteCond %{REQUEST_FILENAME}.gz -f | |
21 | + RewriteRule ^(.*)$ $1.gz [QSA,L] | |
22 | +</IfModule> | |
0 | 23 | \ No newline at end of file | ... | ... |