On 18 sep, 17:37, thc <[email protected]> wrote:
> Hi, I have an app invoking a remote web service via
> RequestBuilder.sendRequest(). The problem I am having is that the
> remote service is only invoked the first time the client app is loaded
> into the browser. However, the call ALWAYS returns STATUS_CODE 200,
> regardless if remote service is invoked or not.
Could it be a caching issue? the first time, the response is actually
in the browser's cache (and not stale) and thus is served directly;
but reloading the app clears the cache (if you use Shitf+F5 or Ctrl+R
or equivalent in your browser) so the call reaches the network.
Have you tried setting a Cache-Control header in your response?
>
> Any ideas on how to avoid a reload of client app into browser (in
> order for the remote call to work) would be greatly appreciated.
> Thanks
>
> I am running in web mode, as opposed to hosted mode, if that helps at
> all.. Thanks.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---