Hi, Thanks for the reply I believe( i havent tired it yet) with this i would be able to have no caching when i deploy my application on the web server(Apache tomcat)
What about when i am developing my application and testing in the google webtoolkit hosted mode? On Sep 6, 12:01 pm, ThomasWrobel <[email protected]> wrote: > Have you tried using a .htaccess file on the sever to force no- > cacheing? > > <Files *> > Header set Cache-Control: "private, pre-check=0, post-check=0, max- > age=0" > Header set Expires: 0 > Header set Pragma: no-cache > </Files> > > (If you save this to a *.htaccess file this will set everything in > the directory not to be cached) > Assumeing your sever is apache. > > On Sep 4, 5:02 pm, Rahul <[email protected]> wrote: > > > Hi, > > I am reading an file A.xml each time and modifying it and saving it on > > my server. Now how can the browser or the hosted mode that the file > > has been changed, because whenever it sees that the name of the file > > is same i.e. A.xml it never gets from the server, it just shows the > > content in it local cache which are the old values. > > > I believe its a cache problem, as the browser never gets A.xml the > > next time because when seen in the other window of hosted mode, i see > > that the first time there is a 200 - GET operation which is that the > > file is send from server to client but the second or the third time, > > not such GET operation is done > > > I hope i was clear with my problem statement, if not please ask so i > > can more elaborate. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
