-
-
Save jpmarchand/a7cb3e53ee540adb527e to your computer and use it in GitHub Desktop.
Enable gZIP compression. Code snippet to add in .htaccess file. Source: https://www.siteground.com/tutorials/wordpress/optimize_wordpress.htm
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
## ENABLE GZIP COMPRESSION ## | |
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 | |
## ENABLE GZIP COMPRESSION ## |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment