1

I'm trying to get mod deflate and gzip setup on my server. It's all working swimmingly but it does not appear be be catching all files. It's not that it is missing ALL javascript or ALL CSS. It appears to be missing some javascript and some CSS.

For example, the following CSS IS NOT being compressed: http://www.discussthemarket.com/global-assets/css/bootstrap/bootstrap.min.css

Whereas the following CSS IS being compressed: http://www.discussthemarket.com/assets/css/bootstrap.default.css

Here is my config in my htaccess:

# compress text, html, javascript, css, xml:
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
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

I have googled til the cows come home and nothing is working. I've also tried various variations on the config above all in vain.

0 Answers0