Hi Magnus,

an easy solution for this problem, without any need for a filter or 
changing any http cache headers is to append a query string to the 
.nocache.js url, e. g.:

<!-- using a version, you'll have to update the HTML file before a planned 
> deployment -->
> <script src="m1/m1.nocache.js?version=1.0.1"></script> 

 


> <!-- 

   when you have a template engine onboard, like freemarker or jsp, 

   you could use the current time as version either iso or unix timestamp 

   style

-->
> <script src="m1/m1.nocache.js?version=${currentTime}"></script> 


> <!-- the output would look like this -->
> <script src="m1/m1.nocache.js?version=20130329092459"></script> 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to