On Wed, Mar 11, 2009 at 9:32 PM, Thomas Broyer <t.bro...@gmail.com> wrote:

> a) use a GWT Linker [1,2] to prepend scripts dependencies (<script/>
> in your modules' gwt.xml) to the selection script; the problem is that
> the selection script isn't (shouldn't be) cached, so it should remain
> as small as possible.


It's good to paranoid about the speed of the selection script download, but
in practice this probably isn't so bad if you have properly configured HTTP
headers. The exact semantics for the selection scripts are "must revalidate"
rather than "cannot cache". In other words, an If-Modified-Since request for
the selection script should be returning "Not Modified" except when the app
is actually redeployed on the server.

Thus, I kinda like (a).

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to