I am having an issue, or so I believe, with GZIP working for JavScript and CSS. Everything else appears to be working OK except for files ending in .js or .css.
I have run some tests using various webtools and GZIP is running and also is running according to the HTTP HEADERS.
The problem is, when I run the Page Speed test from Google, it tells me I need to use GZIP on some .js and .css files.
I’ve tried so many different things in my .htaccess file but nothing seems to work. I must be missing something.
I assume you’re checking via Google Webmaster Tools? If so, it tends to take days for it to update the status in it’s page speed suggestions - took a week to detect when we turned Gzip on for JS.
Although I am certainly still open for suggestions, I believe I have it figured out. I thought there would be an easier way but this seems to work.
I downloaded a free tool called 7-Zip to compress the CSS and JavaScript files and uploaded them to my server with an extension of .css.jgz or .js.jgz. Then I added the following to my .htaccess. It worked.