Hi ronman,

   Are you using the refreshInterval parameter for your IG_Fetch
calls?

>From http://code.google.com/apis/gadgets/docs/remote-content.html#Params
:
// Disable caching completely and fetch fresh content every time
--  !! Try to avoid using this !!
_IG_FetchContent("http://news.google.com/?output=rss";, callback,
{ refreshInterval: 0 });

This should be fine for development purposes.

I'm seeing a lot of cases where people are using &bpc=1 but their
browser continues to cache the old code.  If you're still seeing old
data, can you try disabling your browser cache and seeing if the
problem goes away?

~Arne

On Nov 6, 6:22 pm, ronman <[EMAIL PROTECTED]> wrote:
> This is a very helpful script, and bpc=1 is indeed added to the end of
> the URL, but it still caches.
> Not only the gadget source, but it also caches what is returned from a
> remote server as a result of an
> _IG_FetchContent call.
>
> Why can't caching just be turned off in the sandbox for everyone by
> default?
>
> Even so, caching the remote data may be an additional problem...
>
> The server I'm being routed to is:     un64mq1e-a.modules.com
>
> Ron
>
> On Nov 4, 3:40 am, Sahil <[EMAIL PROTECTED]> wrote:
>
> > I have created a Greasemonkey script for firefox, which will append
> > &bpc=1 automatically to the application pages.
>
> >http://www.tricks4fun.com/orkut-sandbox-permanent-no-cache/
>
> > On Nov 3, 10:32 pm, "Arne Roomann-Kurrik (Google)"
>
> > <[EMAIL PROTECTED]> wrote:
> > > Orkut's sandbox caches your gadget to improve latency.  This is
> > > undesirable during development, so to bypass caching on a given Orkut
> > > page, please append &bpc=1 to the URL of the page itself:
>
> > > For example:
>
> > > Cached:http://sandbox.orkut.com/Application.aspx?uid=x&appId=x
>
> > > Not cached:http://sandbox.orkut.com/Application.aspx?uid=x&appId=x&bpc=1
>
> > > Please note that you do not append bpc=1 to the url of the gadget you
> > > install.
>
> > > ~Arne


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenSocial API Definition (was OpenSocial Developers)" 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/opensocial-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to