Created
October 8, 2019 12:27
-
-
Save shabbirbhimani/2f00cce49260ca082f5a71a6274cbb3a to your computer and use it in GitHub Desktop.
vBulleting htaccess to Compress Output (GZIP)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_deflate.c> | |
SetOutputFilter DEFLATE | |
# file-types indicated will not be compressed | |
SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png|rar|zip|pdf)$ no-gzip dont-vary | |
<IfModule mod_headers.c> | |
Header append Vary User-Agent | |
</IfModule> | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment