Re: iOS 6 Bug: Safari caches POST requests

2012-11-06 Thread Óscar Frías Barranco
Hello. We just override the method onAfterResponseSerialized from RemoteServiceServlet in the RPC services implementation and this fixes this issue: @Override protected void onAfterResponseSerialized(String serializedResponse) { HttpServletResponse response = getThreadLocalRespo

Re: iOS 6 Bug: Safari caches POST requests

2012-11-05 Thread Rob Whiteside
We came across this problem too, I was banging my head against the wall for hours. I see some others solved it with filters, if you use apache you can mess with the headers via the Headers Module. Add the following to the httpd.conf: LoadModule headers_module modules/mod_headers.so ...

Re: iOS 6 Bug: Safari caches POST requests

2012-11-03 Thread Joseph Lust
Of course you can just do this for iOS devices. Just parse the UserAgent parameter from the request. Sincerely, Joseph -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/

Re: iOS 6 Bug: Safari caches POST requests

2012-11-02 Thread Jamie
You could write the filter to only affect POSTs Or, you could configure the filter mapping to only apply the filter to your Servlet(s). Jamie. On Friday, 2 November 2012 14:23:44 UTC-4, Jeffrey Roe wrote: > > So this will cause all files to be downloaded over and over again. > Is there a way to

Re: iOS 6 Bug: Safari caches POST requests

2012-11-02 Thread Jeffrey Roe
So this will cause all files to be downloaded over and over again. Is there a way to do this fix just for IOS devices. Jeffrey Roe, On Tue, Oct 2, 2012 at 5:42 PM, Nicolas Hoby wrote: > Works perfect, thank you! > > Just for completion, to install the filter add the following to your > Web.xml:

Re: iOS 6 Bug: Safari caches POST requests

2012-10-03 Thread Nicolas Hoby
Works perfect, thank you! Just for completion, to install the filter add the following to your Web.xml: HeaderFilter server.services.HeaderFilter HeaderFilter /* On Sep 27, 11:40 am, Christian Kue

Re: iOS 6 Bug: Safari caches POST requests

2012-09-27 Thread Christian Kuetbach
Implement a Header-Filter: public class HeaderFilter implements Filter { public void destroy() { } public void doFilter(ServletRequest req, ServletResponse res, FilterChain filterChain) throws IOException, ServletException { HttpServletResponse response

Re: iOS 6 Bug: Safari caches POST requests

2012-09-25 Thread Rui Oliveira
Hi, Whats the best away to solve this issue? I have hundreds of RPC and I'm looking for a global way to change the header to no-cache. Sincerely Rui -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web vi

Re: iOS 6 Bug: Safari caches POST requests

2012-09-23 Thread Jens
Thanks. Good to know. -- J. Am Sonntag, 23. September 2012 08:17:10 UTC+2 schrieb KevMo: > > I'm not sure how many people this will affect, but I thought I would send > out a heads up. Check out these posts for more information: > > http://stackoverflow.com/questions/12506897/is-safari-on-ios-6-

iOS 6 Bug: Safari caches POST requests

2012-09-22 Thread KevMo
I'm not sure how many people this will affect, but I thought I would send out a heads up. Check out these posts for more information: http://stackoverflow.com/questions/12506897/is-safari-on-ios-6-caching-ajax-results http://www.devthought.com/2012/09/22/understanding-the-ios6-ajax-bugs/ -- You