On my live server my versioned content (the url containing the versioned number) is not returning the static files compressed. However when I check the literal path to the content, by removing the “versionXXXXXX” from the url and resending the request, the content is being compressed and returned as so to the browser. I have my htaccess file in pub/static that does the rewrite properly. Can anyone help me out as to why the versioned url is not returning the compressed content to the browser?
On my local server, the versioned content is being gzipped properly. Accept-Encoding headers are being read properly and in turn returning the compressed content to the browser. But this is not the case on my live server.