hello i am running abhishekproducts.in and on page insight i get eh following after trying the above code http://abhishekproducts.in/…v_21_fabd4c2f1733c0f44832f54b3d1530b5.js could save 151.5KiB (69% reduction).
and the header for the same js shows this
Response header for uncompresses JS
Accept-Ranges: none
Cache-Control: max-age=604800 Connection: keep-alive Content-Length: 278756 Content-Type: application/javascript Date: Wed, 22 Oct 2014 20:41:27 GMT Expires: Wed, 29 Oct 2014 20:41:27 GMT Last-Modified: Wed, 22 Oct 2014 19:49:25 GMT Server: nginx Vary: Accept-Encoding
Where as the compress CSS shows this
Cache-Control: max-age=604800
Connection: keep-alive Content-Encoding: gzip<------------------------------------look at this Content-Type: text/css Date: Wed, 22 Oct 2014 20:41:26 GMT Expires: Wed, 29 Oct 2014 20:41:26 GMT Last-Modified: Wed, 22 Oct 2014 19:49:22 GMT Server: nginx Transfer-Encoding: chunked Vary: Accept-Encoding Vary: Accept-Encoding
so as you see the JS is not getting compresses where as the CSS and other html files are getting compresses.
Any one any ideas on this ?