On Tue, Mar 17, 2009 at 07:40, Deba <[email protected]> wrote:
> After web mode - compile we have 5 different cache.html (e.g > 39E6CED23236BBA7EF1704B96900B4D8.cache.html) files .. each one of > approximately 545 kb. > > We are keen to know how these 5 different files with similar size are > best described. Are they meant for cross browser support or each time > all files are downloaded to all clients. They are for cross-browser support. One file per browser. A user would only download 1 of those files, given the browser she/he is running at the time they access the site. Consequently they are similar in size, as each cache file contains the full logic of the application, as well as all string resources. The variance in size is due to different browser functions in various sections of the GWT standard library. If you add additional language translations for your Constants and Messages interfaces, you will get more cache files, one for each language/browser permutation. It can add up fast in terms of the number of *.cache.html present on the server. But at least the end-user only downloads one *.cache.html to their browser, and so long as the HTTP headers permit it, the file can be cached in the local browser for a very long time (e.g. 1 year), saving time and bandwidth during subsequent visits. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
