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 no-gzip BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
Is it as simple as adding text/js and text/ttf?