I am doing some tests with gzip, I have manually compressed the CSS and JS with gzip. The size of the JS has dropped from 33kb to 7kb.
The problem is when I look in the network tab in Chrome or Firefox it shows me that the file has 33kb instead of 7kb. The extension is still gz so it seems that it is the same file, it doesn't serve me the uncompressed version. If I right click on the file in the network tab and then save it on HDD I see that the size is 33kb not 7kb even though the extension is still gz. If I try to dezarhivate with 7zip it cants.
On the "Request header" for the js gz file I have "Accept-Encoding: gzip, deflate" on the "Response header" I have "Transfer-Encoding: chunked Vary Accept-Encoding"
Do I have to configure the server to allow gzipped css's and js's? is there a way to fix this without changing the server option, maybe a MIME? The server runs Apache/2.2.15 (CentOS).
I have this on
htaccess, do I have to change this?