Well, if I understand you correctly, I think you want to do something that's 
either not necessary or completely impossible.

1. you cannot send a .gz compressed file to gwt - you need to tell the 
browser to decompress the file before it is visible in the javascript 
application.
2. you have to compress the bytes that are sent on the wire when they are 
transmitted! that means, the type of the file is still text/html or 
something like that, not a compressed binary.
3. this compression, afaik, is done automatically by appengine for static 
files. i suggest you to look at the raw datastream via a network dump 
program that reads all the tcp data that your browser receives (i.e. 
wireshark is a good one)

4. to implement that yourself in appengine, you can do this:
4.1 compress all files as .gz
4.2 create an entry for a dynamic script that maps requests for each 
.cache.html files to the corresponding .cache.html.gz file. make sure to add 
the correct headers, so that the browser knows that it gets a compressed 
datastream. just sending the .gz file won't work.
... but i don't think you have to do that at all.

5. what's probably more helpful, split your gwt application. read this 
about GWT.runAsync:
http://code.google.com/webtoolkit/doc/latest/DevGuideCodeSplitting.html

H

-- 
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