OK :(

Couldn't let it rest...
Found out that the above b) snippet isn't necessary, but was because I
had somewhere in my apache config the following line that spoiled it:
 AddType application/x-gzip .gz .tgz
So every file returned with .gz as extension got automatically this
content type back which was incorrect

Bottom line:
1) Remove all not gzipped files otherwise apache will not perform any
content negotiation and simple returns the unzipped file.
2) Add the following lines to your apache config (in a Directory/Files/
Location directive if you whish):
Options +MultiViews
AddEncoding x-gzip .gz

And that's it...
Because all the modern browsers support gzip, it's safe to remove the
original unzipped files.

Now I still have to find out how to gzip my remaining static
resources...
Thomas: how do you that ? and where you put your static resources?


-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to