the following configuration in httpd.conf only gzip css and html, not javascript, any idea?
AddOutputFilterByType DEFLATE text/html text/plain text/javascript text/css
AddOutputFilterByType DEFLATE application/x-javascript
|
the following configuration in httpd.conf only gzip css and html, not javascript, any idea?
| ||||
|
feedback
|
|
That's most likely because the MIME type for Javascript is hotly contested. Try adding That said, a more reliable way may be to filter based on the If this doesn't work, then your distro of Linux may be using a completely different MIME type for JavaScript. Locate the | ||||
|
feedback
|
|
This is probably your best approach:
Internet Explorer (certain versions) does not play well with hectic compression, so it's best to approach compression on a browser by browser basis. These settings are from a high volume website with lots of clients - and were the only settings we tried that worked 100% of the time. | ||||
|
feedback
|