Hey Tommy,

Indeed, OpenSocial does cache a lot and this is for a good reason; If an
OpenSocial gadget becomes popular, let alone on several networks, it can get
hundreds of requests per second, and most dev's servers are not made to
survive this kind of traffic; So caching doesn't only make the end-user
experience faster, it also makes sure your servers can survive :)

However for development it can be a pain as you found out, if your
developing in orkut the simplest way to by pass any cache's is to append
?nocache=1 to the URL. If you combine that with disabling your browser cache
through firefox, you should have a completely cache-less environment.

ps if your comming from a java env, you might want to check out the OSDE
(OpenSocial Development Env):
http://code.google.com/p/opensocial-development-environment/ which allows
you to do gadget development in Eclipse. I haven't tried it personally, but
I hear lots of good things about it.

   -- Chris

On Mon, Mar 23, 2009 at 11:07 AM, developer.sawub...@googlemail.com <
developer.sawub...@googlemail.com> wrote:

>
> Hey there, I'm developing a social app for a charity project and the
> whole caching mechanism of the gadgets just drives me nuts.
>
> Recently I added my application to igoogle with the developer tools,
> so I can uncheck the caching function for this gadget. Next i disabled
> the cache of my Firefox with the web tools and deleted the contents of
> it. But if I now change, say a few lines, in an external js File of my
> gadget it's simply ignored.
>
> I already tried to set up a local shindig server, but I run in trouble
> with the whole social data providing.
>
>
> So my question is: How do you develop social apps, how is your process
> looking. I'm coming from the standard java development branch and am
> used to debuggers, test driven development etc.
>
> Is social app development, besides a firebug debugger, still trial and
> error? And how do you make sure to disable the WHOLE cache in the
> development state?
>
> Thanks very much for every hint, I'm really about to get crazy,
> because everything I do seems to be cached..
> Tommy
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenSocial Application Development" group.
To post to this group, send email to opensocial-api@googlegroups.com
To unsubscribe from this group, send email to 
opensocial-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/opensocial-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to