René and Luciano, can you please provide the URL of your applications? We're looking into various reports of caching headaches right now. Thanks!
- Jason On Jun 18, 9:44 pm, "René Tapia" <[EMAIL PROTECTED]> wrote: > Hi Jason, > > I have no max-age value in my headers. However, my app's xml has not been > refreshed since it was added to the sandbox two days ago. > > Here are the headers from my server as returned by fiddler: > > HTTP/1.1 200 OK > Date: Thu, 19 Jun 2008 04:13:02 GMT > Server: Apache/2.2.6 (Fedora) > Last-Modified: Tue, 17 Jun 2008 21:47:36 GMT > ETag: "16999be-d4a6-b1342e00" > Accept-Ranges: bytes > Content-Length: 54438 > Connection: close > Content-Type: text/xml > > So I am still no sure as to what is required to have my app's xml refreshed. > > Thank you. > > Best regards, > Rene > > 2008/6/18 Jason <[EMAIL PROTECTED]>: > > > > > I apologize for all of the confusion. The orkut developer guide needs > > a small update: orkut does not refresh its cache at a fixed interval. > > Instead, it honors the max-age value in the Cache-Control header that > > is returned by the server hosting the application. This could be > > several hours or even several days. If no max-age value is set, orkut > > should refresh the cache every five minutes or so. Unfortunately, > > there is no way to flush an application's cache manually at this time. > > > Rajiv: how often do you see an older version of your application > > appear after the cache has been refreshed? You mention "back and > > forth," so I'm curious to know how frequent this occurrence is. It's > > not necessarily uncommon for the cache to update in some regions of > > the world before others, but once updated (and assuming you're not > > using the bpc parameter), your spec should not be reverting. Can you > > provide your application's URL? > > > - Jason > > > On Jun 17, 7:51 pm, "Luciano Ricardi" <[EMAIL PROTECTED]> wrote: > > > Yep, the problem happens again. And, sometimes, the problem that Rajiv > > > describes happens too... :/ > > > > When using the bpc, sometimes the Rajiv's problem happens... and without > > > bpc... well... the content is from long time ago... :( > > > > On Tue, Jun 17, 2008 at 8:57 PM, Rajiv Renganathan <[EMAIL PROTECTED]> > > > wrote: > > > > > Hello, > > > > > I am goin nuts over this caching thing :( > > > > > Sometime the new app xml picked immediately. Then after a few hours, I > > > > start seeing the old version of the app! This happens back and forth. > > > > > Pls Google, explain how caching works or simple let developers refresh > > the > > > > cache when the app xml is changed. > > > > > I starred > > > >http://code.google.com/p/opensocial-resources/issues/detail?id=42. > > However > > > > the problem here is not about adding bpc. It is much bigger in terms of > > user > > > > experience and hence the reliability of the app. > > > > > Hope something is done sooner. > > > > > Thanks, > > > > Rajiv > > > > > On Wed, Jun 18, 2008 at 6:42 AM, René Tapia <[EMAIL PROTECTED]> > > wrote: > > > > >> I am having the same issue. > > > > >> Docs say cache should refresh every hour: > > > >>http://code.google.com/apis/orkut/docs/orkutdevguide.html#bpc > > > > >> However cache has not been updated since saving my last changes last > > > >> night, and so my app currently only works in sandbox with bpc=1. > > > > >> 2008/6/17 Rohit Ghatol (Google) <[EMAIL PROTECTED]>: > > > > >>> Hi Everyone, > > > >>> Are you guys still facing this issue? > > > > >>> Thanks, > > > >>> Rohit > > > > >>> On Jun 10, 4:51 pm, "Luciano Ricardi" <[EMAIL PROTECTED]> wrote: > > > >>> > This is EXACTLY the problem. The user of the gadget will not insert > > the > > > >>> > bpc=1 on the url right? So, what can we do? The gadget is showing > > > >>> always the > > > >>> > same content on the wrong place! > > > > >>> > On Tue, Jun 10, 2008 at 2:01 AM, sunnydiv <[EMAIL PROTECTED]> > > wrote: > > > > >>> > > luciano > > > >>> > > i have been facing a similar problem, > > > >>> > > just use &bpc=1 while in sandbox > > > > >>> > > it works fine once approved, (updates cache every few hrs or so) > > > > >>> > > On Jun 10, 6:11 am, "Luciano Ricardi" <[EMAIL PROTECTED]> wrote: > > > >>> > > > Hi all, > > > > >>> > > > We are a bit confused when using the cache mechanism of the > > orkut > > > >>> > > > implementation of Opensocial. Let me explain: > > > > >>> > > > We develop our application and we've published in a URL "A" > > > > >>> > > >http://urla.something.com/gadgetdir > > > > >>> > > > Inside our application, we have some PHP scripts. Inside one of > > > >>> then, we > > > >>> > > put > > > >>> > > > one variable that points to the absolute url... (to load images > > and > > > >>> make > > > >>> > > the > > > >>> > > > MakeRequest() calls) like this: > > > > >>> > > > $url_base = "http://urla.something.com/gadgetdir" > > > > >>> > > > Ok... > > > > >>> > > > After we consider the gadget "stable" we put our application on > > the > > > >>> URL > > > >>> > > "B" > > > > >>> > > >http://urlb.anotherthing.com/gadgetdir > > > > >>> > > > Well, we "forgot" to change the $url_base and, the gadget was > > added > > > >>> using > > > >>> > > > the new url ("B") to publish, but pointing to the old URL > > "A"... > > > > >>> > > > So, since then, we were UNABLE to test the gadget without > > "bpc=1" > > > >>> at the > > > >>> > > end > > > >>> > > > of URL, because the gadget added using URL "B" persist to bring > > the > > > >>> > > content > > > >>> > > > of URL "A". > > > > >>> > > > Yes, we've fixed the $url_base and the problem persist for > > days... > > > > >>> > > > My question is: > > > > >>> > > > Is this a bug? Since we've published the app, the sandbox cache > > it > > > >>> > > forever? > > > >>> > > > Or, this is the intention of the Sandbox? > > > > >>> > > > Any comment is appreciated. > > > > >>> > > > Thanks! > > > > >>> > > > Luciano > > > > >>> > -- > > > >>> > Luciano > > > > > -- > > > ------------------------------------------------------------------------------------------------- > > > > DealSearchMaadi.com > Searching over 12 websites for shopping deals > > across > > > > India. > > > ------------------------------------------------------------------------------------------------- > > > > -- > > > Luciano --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Orkut 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/opensocial-orkut?hl=en -~----------~----~----~----~------~----~------~--~---

