curl -I -H 'Accept-Encoding: gzip,deflate' https://example.com/a.min.js
HTTP/1.1 200 OK
Server: nginx
Date: Thu, 22 Jun 2017 02:45:49 GMT
Content-Type: application/javascript; charset=utf-8
Content-Length: 5430
Connection: keep-alive
X-Accel-Version: 0.01
Last-Modified: Sat, 14 Jan 2017 12:50:18 GMT
Accept-Ranges: bytes
Vary: Accept-Encoding,User-Agent
Content-Encoding: gzip
X-Powered-By: PleskLin
Cache-Control: max-age=2628000, private
Here it is very clear that file is gzipped but in case of chrome, pagespeed and gtmetrix they are mentioning this file is not compressed. There is no content encoding in header when i view in chrome.
Also my homepage is being compressed with gzipp. when using varvy
service they are saying your local files are not compressed.
I have enabled compression in nginx and apache both. also in .htaccess. but this is very weired.