We're using Tomcat 6.0.18 and GWT 1.5.3. The browser (Firefox 3 at least) is caching our GWT application. Refreshing fixes it but that's not an option for production. I would think this is a common issue. How do we fix it? Write a response header filter for Tomcat or is there a better way?
Here's the HTTP headers: http://ourserver/mywebapp/home/com.mycompany.mine.OurGWTApp.nocache.js GET /mywebapp/home/com.mycompany.mine.OurGWTApp.nocache.js HTTP/1.1 Host: ourserver User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: 1.9.0.4) Gecko/2008102920 Firefox/3.0.4 Accept: */* Accept-Language: en-us,en;q=0.7,ja;q=0.3 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Referer: http://ourserver/mywebapp/theapp/apphome.html Cookie: JSESSIONID=621F38E17EF1599EEF41F5AB43A820EE; CP=* X-lori-time-1: 1229109488064 If-Modified-Since: Fri, 12 Dec 2008 18:31:55 GMT If-None-Match: W/"5830-1229106715375" Cache-Control: max-age=0 HTTP/1.x 304 Not Modified Server: Apache-Coyote/1.1 Etag: W/"5830-1229106715375" Date: Fri, 12 Dec 2008 19:18:07 GMT --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
