Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Discussions > OpenSocial Application Development > Disabling cache in the Orkut sandbox
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  15 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Arne Roomann-Kurrik (Google) Google employee  
View profile  
(3 users)  More options Nov 3 2007, 1:32 pm
From: "Arne Roomann-Kurrik (Google)" <api.kur...@google.com>
Date: Sat, 03 Nov 2007 17:32:12 -0000
Local: Sat, Nov 3 2007 1:32 pm
Subject: Disabling cache in the Orkut sandbox
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


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Suhail Doshi  
View profile  
 More options Nov 3 2007, 1:42 pm
From: Suhail Doshi <DigitalWarf...@gmail.com>
Date: Sat, 03 Nov 2007 17:42:11 -0000
Local: Sat, Nov 3 2007 1:42 pm
Subject: Re: Disabling cache in the Orkut sandbox
Thank you, that was very much needed. So tedious any other way :P

On Nov 3, 10:32 am, "Arne Roomann-Kurrik (Google)"


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sahil  
View profile  
 More options Nov 3 2007, 3:32 pm
From: Sahil <go.ahead.sa...@gmail.com>
Date: Sat, 03 Nov 2007 19:32:49 -0000
Local: Sat, Nov 3 2007 3:32 pm
Subject: Re: Disabling cache in the Orkut sandbox
A LifeSaver....

On Nov 3, 10:32 pm, "Arne Roomann-Kurrik (Google)"


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
mbchandar  
View profile  
 More options Nov 3 2007, 9:53 pm
From: mbchandar <mbchan...@gmail.com>
Date: Sat, 03 Nov 2007 18:53:48 -0700
Local: Sat, Nov 3 2007 9:53 pm
Subject: Re: Disabling cache in the Orkut sandbox
thank you arne.

if sandbox for development
then disable cache = true
why the orkut sandbox does not have that by default?

- bala
http://beyondwork.wordpress.com

On Nov 3, 10:32 pm, "Arne Roomann-Kurrik (Google)"


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Brian Rue  
View profile  
 More options Nov 4 2007, 1:00 am
From: Brian Rue <brian...@gmail.com>
Date: Sun, 04 Nov 2007 06:00:29 -0000
Local: Sun, Nov 4 2007 1:00 am
Subject: Re: Disabling cache in the Orkut sandbox
Awesome, thanks!

On Nov 3, 10:32 am, "Arne Roomann-Kurrik (Google)"


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
EGreg  
View profile  
 More options Nov 4 2007, 2:27 am
From: EGreg <heyg...@gmail.com>
Date: Sun, 04 Nov 2007 07:27:06 -0000
Local: Sun, Nov 4 2007 2:27 am
Subject: Re: Disabling cache in the Orkut sandbox
That helps a lot, Thanks Arne!

Greg Magarshak

On Nov 3, 12:32 pm, "Arne Roomann-Kurrik (Google)"


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sahil  
View profile  
 More options Nov 4 2007, 4:40 am
From: Sahil <go.ahead.sa...@gmail.com>
Date: Sun, 04 Nov 2007 09:40:16 -0000
Local: Sun, Nov 4 2007 4:40 am
Subject: Re: Disabling cache in the Orkut sandbox
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)"


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
EGreg  
View profile  
 More options Nov 4 2007, 11:09 am
From: EGreg <heyg...@gmail.com>
Date: Sun, 04 Nov 2007 16:09:04 -0000
Local: Sun, Nov 4 2007 11:09 am
Subject: Re: Disabling cache in the Orkut sandbox
Arne - it's cool to be able to not cache the gadget, but this brings
up a problem which I mentioned in another thread ("Unofficial bugs").
If gadgets are cached AND the underlying API implementation changes
(which, if experience with facebook taught us anything, is very
possible), it will be a big problem. If the container changes its
implementation, all the cached apps would break. At which point can
app developers "fix" and "adapt" their applications then? Perhaps, if
you really will cache javascript, there should be some revision number
for the container's implementation. When it changes, the app
developers have a chance to upload a script with the new revision
number, so that (potentially) millions of users aren't stuck having to
re-add the application.

Greg

On Nov 4, 4:40 am, Sahil <go.ahead.sa...@gmail.com> wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Arne Roomann-Kurrik (Google) Google employee  
View profile  
 More options Nov 5 2007, 11:57 am
From: "Arne Roomann-Kurrik (Google)" <api.kur...@google.com>
Date: Mon, 05 Nov 2007 16:57:51 -0000
Local: Mon, Nov 5 2007 11:57 am
Subject: Re: Disabling cache in the Orkut sandbox
Hi Greg,

   These are valid concerns, and we're aware that gadget developers
don't want to get stuck between API versions and caching.  For the
first issue, the cache lifespan is only an hour, so users with older
versions of the gadget will only be out of sync for a relatively short
period of time.  Secondly, you'll notice that the <Require
feature="opensocial-0.5" /> contains a version number.  The plan is to
release a higher version API while still supporting a lower version
number for a short period of time, so that developers are able to port
their apps while minimizing downtime due to breaking changes in the
API.  We won't be able to guarantee this for all changes (if the
underlying infrastructure changes, for example) but we'll certainly be
working hard to minimize the amount of pain that such changes will
bring.

~Arne

On Nov 4, 8:09 am, EGreg <heyg...@gmail.com> wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ronman  
View profile  
 More options Nov 6 2007, 9:22 pm
From: ronman <ron.new...@gmail.com>
Date: Wed, 07 Nov 2007 02:22:16 -0000
Local: Tues, Nov 6 2007 9:22 pm
Subject: Re: Disabling cache in the Orkut sandbox
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 <go.ahead.sa...@gmail.com> wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Daniel C. Silverstein (cubes)  
View profile  
 More options Nov 10 2007, 9:07 am
From: "Daniel C. Silverstein (cubes)" <cu...@slide.com>
Date: Sat, 10 Nov 2007 06:07:46 -0800
Local: Sat, Nov 10 2007 9:07 am
Subject: Re: [opensocial] Re: Disabling cache in the Orkut sandbox
Arne,

Why not flush the cache whenever there's a new api release is pushed  
out?

                                (Dan)

On Nov 5, 2007, at 8:57 AM, Arne Roomann-Kurrik (Google) wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alper Çuğun  
View profile  
(1 user)  More options Nov 13 2007, 8:48 am
From: Alper Çuğun <alper.cu...@gmail.com>
Date: Tue, 13 Nov 2007 13:48:41 -0000
Local: Tues, Nov 13 2007 8:48 am
Subject: Re: Disabling cache in the Orkut sandbox
On Nov 7, 3:22 am, ronman <ron.new...@gmail.com> wrote:

> This is a very helpful script, and bpc=1 is indeed added to the end of
> the URL, but it still caches.

Yeah, for me also it doesn't pick up any changes in the XML file. Is
there another OpenSocial sandbox we can use te develop on?

--
Alper


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Arne Roomann-Kurrik (Google) Google employee  
View profile  
 More options Nov 13 2007, 12:46 pm
From: "Arne Roomann-Kurrik (Google)" <api.kur...@google.com>
Date: Tue, 13 Nov 2007 17:46:05 -0000
Local: Tues, Nov 13 2007 12:46 pm
Subject: Re: Disabling cache in the Orkut sandbox
Hi ronman,

   Are you using the refreshInterval parameter for your IG_Fetch
calls?

:
// 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 <ron.new...@gmail.com> wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Arne Roomann-Kurrik (Google) Google employee  
View profile  
 More options Nov 13 2007, 12:46 pm
From: "Arne Roomann-Kurrik (Google)" <api.kur...@google.com>
Date: Tue, 13 Nov 2007 17:46:17 -0000
Local: Tues, Nov 13 2007 12:46 pm
Subject: Re: Disabling cache in the Orkut sandbox
Hey Dan,

   That would make sense.  I'll bring it up with the team doing the
pushes.

~Arne

On Nov 10, 6:07 am, "Daniel C. Silverstein (cubes)" <cu...@slide.com>
wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Arne Roomann-Kurrik (Google) Google employee  
View profile  
(2 users)  More options Nov 21 2007, 4:56 pm
From: "Arne Roomann-Kurrik (Google)" <api.kur...@google.com>
Date: Wed, 21 Nov 2007 13:56:10 -0800 (PST)
Local: Wed, Nov 21 2007 4:56 pm
Subject: Re: Disabling cache in the Orkut sandbox
I'm moving this thread to the Orkut Discssion subgroup.  Please
continue any further discussion there.

Thanks,
~Arne


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google