Hi,

I'm not entirely sure how to answer your question, as it can be
interpreted in two different ways (which have different answers). If,
when you say "update the data on the server", you are referring to
updating data in your App Engine app, and pulling it into your gadget,
it's possible this data is being cached. There are several ways to
circumvent these caching mechanisms. The recommended approach would be
to set cache headers in your App Engine app, if the data should be
public. If the data is private, you should send a signed makeRequest
to App Engine from your gadget, which will not be cached. Finally, you
can append a cache-busting parameter (foo=some_random_number) to your
request URL.

If, instead, you mean that your App Engine app sends updates to
appdata within the gadget, there are known delays, but should not be
as long as a day. Please let me know if this is what you are seeing.

Thanks,
Dan

On Aug 23, 11:51 am, DayDreamer <[email protected]> wrote:
> We started a Gadget that uses a server we started on appengine and its
> database, and it also uses open-social to find out about friends of
> the current user.
> Only recently we encountered a problem...
>
> After we update the data on the server (add\delete\modify) and refresh
> the page, it does not show the updated data- it shows the old
> information. When we check the information on the server - we see it
> is as it should be. It has the updated information. But our gadget for
> some unknown reason gets the old data instead of the new one.
>
> Note: we are working on the sandbox and we removed the gadget's cache
> option.
>
> Only after a while (I don't know exactly... It could be a few hours
> and it could be a day, I don't know yet) it shows the real data.
>
> I can't ignore this situation. It would not be a friendly interface,
> and it could cause unnecessary bugs.
>
> What can I do to resolve this? Is there another cache I don't know
> about? Are there server-problems on appengine? An update on javascript
> that causes the site to get the old data?
>
> Thank you in advance
--~--~---------~--~----~------------~-------~--~----~
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