Friday, January 23, 2015

Re: Mapping .js files to specific browser?


each time you compile your code the GWT compiler generates a unique identifier for each permutation.
This identifier is not stable and will change each time you compile also if you don't make any change on your code.
GWT also generates for your the bootstrap code the *.nocache.js file.
In this file GWT generates a mapping code which maps the generated identifier (permutation) to the user agent.
This means that in the *.nocache.js you will find some code that very abstracted says: 
if (navigator.userAgent == ABC) load permutation XYZ.


Am Freitag, 23. Januar 2015 13:46:45 UTC+1 schrieb Mohammed Sameen:

GWT Compiler Generates .js files for each specific browser,how the mapping is happening in GWT at runtime?For Example,For chrome browser which .js files will load.
On Thursday, January 22, 2015 at 4:21:51 PM UTC+5:30, Mohammed Sameen wrote:
 GWT generates .js files for different browser.How mapping is happening in GWT?

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment