Guest User

Untitled

a guest
Apr 21st, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. <IfModule mod_deflate.c>
  2. # Compress all content, manually excluding specified file types
  3. # place filter 'DEFLATE' on all outgoing content
  4. SetOutputFilter DEFLATE
  5. # exclude uncompressible content via file type
  6. SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png|rar|zip)$ no-gzip
  7.  
  8. # properly handle requests coming from behind proxies
  9. <IfModule mod_headers.c>
  10. Header append Vary User-Agent env=!dont-vary
  11. </IfModule>
  12. # Properly handle old browsers that do not support compression
  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. </IfModule>
Add Comment
Please, Sign In to add comment