I’m using mod_deflate to server gzip content for js and css files.
Resource interpreted as Stylesheet but transferred with MIME type application/x-gzip.
So I guess that’s apache sending wrong headers. But I don’t know how to fix it.
Anyone has an idea?
Server is running Ubuntu 12 64 bits, with apache2.
Your links are wrong.
You’ve made links to
file.css.gz, which just serves the gzipped file directly.
Instead, you should link to
file.css. The web browser will figure out that the gzipped file is there (nginx) and serve it, or will compress it itself.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.