• 1.
    ## FILE COMPRESSION ##
  • 2.
    <IfModule mod_deflate.c>
  • 3.
    # Insert filters
  • 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.
    AddOutputFilterByType DEFLATE application/x-httpd-php
  • 14.
    AddOutputFilterByType DEFLATE application/x-httpd-fastphp
  • 15.
    AddOutputFilterByType DEFLATE image/svg+xml
  • 16.
    # Drop problematic browsers
  • 17.
    BrowserMatch ^Mozilla/4 gzip-only-text/html
  • 18.
    BrowserMatch ^Mozilla/4\.0[678] no-gzip
  • 19.
    BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
  • 20.
    # Make sure proxies don\\\\\\\'t deliver the wrong content
  • 21.
    Header append Vary User-Agent env=!dont-vary
  • 22.
    </IfModule>
  • 23.
    ## FILE COMPRESSION ##
## FILE COMPRESSION ## <IfModule mod_deflate.c> # Insert filters AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/xml AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE application/xml AddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType DEFLATE application/rss+xml AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/x-javascript AddOutputFilterByType DEFLATE application/x-httpd-php AddOutputFilterByType DEFLATE application/x-httpd-fastphp AddOutputFilterByType DEFLATE image/svg+xml # Drop problematic browsers BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4\.0[678] no-gzip BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html # Make sure proxies don\\\\\\\'t deliver the wrong content Header append Vary User-Agent env=!dont-vary </IfModule> ## FILE COMPRESSION ##

Copy Code to Clipboard Raw

Sign-in or Create a Free Account.

Snippi uses Twitter or Facebook to register and create accounts. Registration will enable you to keep track of your snippets. We never spam your timeline or wall. Ever.

Sign-in with Facebook Sign-in with Twitter