Sunny, Prepare for horrible start-up times. Now your application will be downloaded&parsed in full every time a user signs in. Separation of *.cache.* from *.nocache.* files is done specifically to support instant start-up.
Good luck. Yegor On Jun 23, 8:44 am, sunny kapoor <[email protected]> wrote: > Read i meant > > On Jun 23, 7:43 pm, sunny kapoor <[email protected]> wrote: > > > Jason, > > > Yes Sir I am going all the documentation. > > > Regards > > Sunny > > > On Jun 23, 7:38 pm, Jason Essington <[email protected]> wrote: > > > > Primarily it seems you haven't fully understood the bootstrapping > > > process in GWT. > > > > the *.js file is simply to discover which browser is being used and it > > > triggers the load of one of the *.cache.* (js or html depending) files > > > that contains javascript code that is tailored specifically for that > > > browser. > > > > It sounds to me that you don't want so much to get rid of your actual > > > application (the *.cache.html files) as much as you want to compile > > > for cross site bootstrapping. > > > > have a look > > > at:http://code.google.com/webtoolkit/doc/1.6/DevGuideOrganizingProjects.... > > > > and pay particular attention to the "Controlling Compiler Output" > > > section. you are looking for the cross site linker. > > > > -jason > > > > On Jun 23, 2009, at 7:07 AM, sunny kapoor wrote: > > > > > Dear Rajneesh, > > > > > What I am trying to create is a google analystic like app. But what > > > > holding me back is *.cache.html file are requested my myProject.js > > > > file and hence not permitted by browser because of xss cross domain > > > > scripting . > > > > Hope this make sense. > > > > > Regards, > > > > Sunny > > > > > On Jun 23, 5:33 pm, Rajneesh Aggarwal <[email protected]> > > > > wrote: > > > >> Can i know why do you do not want to use *.cache.html? > > > > >> Anyway, following is what you can try --- > > > > >> First of all you need to check from no-cache.js file which > > > >> *.cache.html, the > > > >> js is using for your target browser and then you can probably get > > > >> that html > > > >> and save it as js and use. > > > > >> Remember you will need to remove a lot of html tags from the > > > >> cache.html > > > >> files and use it as js. > > > >> I would however recommend to use the structure as it is. > > > > >> On Tue, Jun 23, 2009 at 5:51 PM, sunny kapoor > > > >> <[email protected]> wrote: > > > > >>> Rajesh, > > > > >>> Thanks for the reply but my aim is to get rid of *.cache.html files. > > > >>> And > > > >>> use only *.js file. > > > >>> And it will be appreciated to find out the way without playing with > > > >>> the > > > >>> main gwt.user.jar file > > > > >>> Regards > > > >>> Sunny > > > > >>> On Jun 23, 5:04 pm, Rajneesh Aggarwal <[email protected]> > > > >>> wrote: > > > >>>> Try changing gwt.user.xml inside gwt.user.jar so that it generates > > > >>>> *.cache.html only for respected browsers. > > > > >>>> Hope this helps ... > > > > >>>> Cheers ... [?] > > > > >>>> On Tue, Jun 23, 2009 at 2:37 PM, sunny kapoor > > > >>>> <[email protected]> > > > >>> wrote: > > > > >>>>> Is there any way to use the "myProject.js" script without extra > > > >>>>> files > > > >>>>> like "*.chache.html" generated by GWT. > > > > >>>>> I think should be a way to do that perhaps stop caching in gwt. > > > >>>>> Since I am a n00b in gwt I was wondering could anyone please me > > > >>>>> out to > > > >>>>> achieve that ? > > > > >>>>> All I trying to achieve is to use myProject.js as a standalone > > > >>>>> script > > > >>>>> without any extra files requirement dependencies > > > > >>>>> Many Thanks > > > > >>>> 330.gif > > > >>>> < 1KViewDownload --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
