Hi Eric,
I believe you can set the caching time as described at
http://code.google.com/apis/gadgets/docs/reference/#gadgets.io.ProxyUrlRequestParameters(though
this doc only mentions getProxyUrl). Caching headers sent from the
server should also be respected but perhaps they're not set since you're
getting the default one hour cache.

Let me know if this helps.

Regards,
Rob Russell
Google Developer Relations


On Sat, Feb 27, 2010 at 6:08 PM, Eric Jain <[email protected]> wrote:

> It looks like gadgets.io.makeRequest caches requests for one hour
> (unless overridden) even when the request fails (e.g. with a 5xx
> status code). Is there a way to prevent failed requests from being
> cached (or have them cached less long) without affecting caching of
> successful requests?
>
> --
> You received this message because you are subscribed to the Google Groups
> "iGoogle Developer Forum" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-gadgets-api%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/Google-Gadgets-API?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"iGoogle Developer Forum" 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-Gadgets-API?hl=en.

Reply via email to