I don't do it actually ;-)
(I only have an image and 2 JSPs –login page and GWT app host page–, we'll 
probably add a CSS later, but browsers will likely only download it once and 
then only check for freshness/staleness of their cache, so we'll probably 
won't gzip it; and it'll be quite small moreover)

And I put my static resources in my "war" (src/main/webapp actually, we're 
using Maven).

Two more small things:
 - in Apache, you could use mod_rewrite instead of MultiViews (a search on 
Google lead me to Drupal which seems to be doing just this), either to send 
the appropriate gzip/non-gzip file if you keep both, or in combination with 
mod_deflate's INFLATE filter if you only keep the gzipped file (using 
mod_filter).
 - you can <set-configuration-property name="precompress.leave.originals" 
value="false" /> in you *.gwt.xml to have the GWT Compiler only output the 
gzipped files.

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

Reply via email to