> > "Google uses a server-side selection script based on the User-Agent > request header, rather than the *.nocache.js using navigator.userAgent on > the client-side)" > > This sounds like a very nice optimisation. Do you know if there is any > plugin for doing this in a servlet container /jsp? > How could find/generate the mapping for "user.agent" -> permutation >
A custom GWT linker can probably do that. But keep in mind that you only gain some optimization if your app only uses deferred binding properties that are based on the browsers user agent string. Deferred binding properties that need information not available on the server (e.g. screen resolution) won't work unless you collapse them into a single permutation so that this permutation can then be detected again on the server. This might cost more than you gain. -- J. > -- You received this message because you are subscribed to the Google Groups "GWT Contributors" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/cbd6c387-e99d-4b52-be66-ccb8e9f27e11%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
