Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # my mod_deflate settings, it's important not to uncomment last AddOutputFilterByType!
- #
- <IfModule mod_deflate.c>
- DeflateCompressionLevel 7
- AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript
- AddOutputFilterByType DEFLATE application/xml application/xhtml+xml application/rss+xml
- AddOutputFilterByType DEFLATE application/javascript application/x-javascript
- #AddOutputFilterByType DEFLATE application/x-httpd-php
- BrowserMatch ^Mozilla/4 gzip-only-text/html
- BrowserMatch ^Mozilla/4\.0[678] no-gzip
- BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
- SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary
- SetEnvIfNoCase Request_URI \.(?:exe|t?gz|zip|bz2|sit|rar)$ no-gzip dont-vary
- SetEnvIfNoCase Request_URI \.(?:pdf|doc)$ no-gzip dont-vary
- SetEnvIfNoCase Request_URI \.(?:avi|mov|mp3|mp4|rm)$ no-gzip dont-vary
- </IfModule>
Add Comment
Please, Sign In to add comment