write a filter to look for the .nocache file, then set the response Header with these name value pairs: ( Expires:pick a time), (Pragma:no-cache) and (Cach-control:no-cache, no-store, must-revailidate). -mike
--- On Wed, 12/16/09, Thomas Broyer <[email protected]> wrote: From: Thomas Broyer <[email protected]> Subject: Re: Cached version of nocache.js is loaded on IE8 To: "Google Web Toolkit" <[email protected]> Date: Wednesday, December 16, 2009, 7:08 PM On 16 déc, 23:55, PeteLachall <[email protected]> wrote: > In IE8, I'm getting a blank page for my GWT 1.7 app on every other > attempt to load it. If I go to View->Style->No Style, I can see a 404 > error for an old cache.html page. This leads me to believe that the > browser is loading a cached version of nocache.js. Is anyone else > seeing this? Isn't there supposed to be some magic in nocache.js to > prevent this from happening? Any suggestions for preventing this on > the server-side (using Tomcat 6)? Is a servlet filter the way to go? > If so, does anyone understand why it is necessary (just an IE8 bug, > maybe)? There's no magic within *.nocache.js. It's name ("nocache") has nothing special, except that it tells *you* to configure your server to send appropriate "no-cache" headers (see "Perfect Caching" at the bottom of http://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.html ) -- 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. -- 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.
