: How to enable more file formats for GZIP/Deflate Compression I enabled gzip/Deflate compression on our servers per Google's Page Speed directives, and it looks like it's now compression html/php
I enabled gzip/Deflate compression on our servers per Google's Page Speed directives, and it looks like it's now compression html/php files, but a couple file formats aren't being compressed that Google rightfully is saying should be compressed, namely .js and .ttf files. How do I add more file formats to httpd.conf so they're compressed as well?
Current lines in httpd.conf I have are:
#
# Deflate output configuration
#
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4.0[678] no-gzip
BrowserMatch bMSIE !no-gzip !gzip-only-text/html
Is it as simple as adding text/js and text/ttf?
More posts by @Vandalay111
1 Comments
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.