[Developers] update behavior when using write API

Christopher R. Maden crism at metaweb.com
Sun Mar 2 23:02:57 UTC 2008


Christian Hirsch <hirsch.christian at gmail.com> wrote:
> I have encountered a strange update/refresh behavior while using
> write queries (to the sandbox) from a Java application. Not sure if that is
> a bug or some problem with my app...

You’re seeing effects of the cache in your browser.  Your browser has a cookie that helps the cache out by telling when your last write was.

When you write to the database using your Java application, your browser has no idea that happened, so the cache serves you old data.  When you make a subsequent write in your browser, your cookie is updated, and now you see both changes.

If you hit F8 in your browser to see the toolbar at the bottom, and then click on refresh cache, the last-write cookie will be cleared and you will see all recent changes to the database.

~Chris
-- 
Christopher R. Maden
Data Architect
Metaweb Technologies, Inc.
<URL: http://www.metaweb.com/ >


More information about the Developers mailing list