Hi!
I wonder if it's possible to disable the caching of HTTP (GET)
requests in hosted mode?
In web mode (Opera and Firefox) there's no caching. I haven't tried IE
or Chrome yet though.
I don't want to add any unique identifier to the URL.

The code I'm using is more or less identical to:
http://code.google.com/intl/sv/docreader/#p=google-web-toolkit-doc-1-5&s=google-web-toolkit-doc-1-5&t=DevGuideHttpRequests

According to the api:
http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/http/client/RequestBuilder.html#sendRequest(java.lang.String,
com.google.gwt.http.client.RequestCallback)
"This method does not cache requestData or callback."
So I guess it shouldn't cache the callback and response?

I have also tried to set the header accordingly:
builder.setHeader("Date", ""+now.getTime());
builder.setHeader("Cache-Control", "no-cache");
builder.setHeader("Pragma", "no-cache");
builder.setHeader("Expires", "Wed, 11 Jan 1984 05:00:00 GMT");
But to no to no avail.

/zeo

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

Reply via email to