[Developers] sandbox caching old values, slow expiration?
Arthur van Hoff
AVH at zing.net
Fri Jan 4 21:58:15 UTC 2008
Ah, you are right. It turns out that Actionscript silently turns an
empty POST into a GET. Sorry about that.
It looks like I can't do an empty POST from AS3, so I'll stick with my
other hack.
-----Original Message-----
From: developers-bounces at freebase.com
[mailto:developers-bounces at freebase.com] On Behalf Of Ben Drees
Sent: Friday, January 04, 2008 1:49 PM
To: developers at freebase.com
Subject: Re: [Developers] sandbox caching old values, slow expiration?
Hi Arthur,
The logs seem to indicate that those 405s are being generated in
response to HTTP GETs. The "refresh cache" functionality is currently
defined only for an empty POST to /api/service/mqlwrite. Can you double
check that your code is POSTing?
-Ben
Arthur van Hoff wrote:
> Hi,
>
> I tried doing an empty HTTP POST to /api/service/mqlwrite, but I get
an
> HTTP 405 error, and the cache is not refreshed. What exactly is the
> recommended method for resetting the cache?
>
> Right now I am doing a "harmless" write, which seems to work, but it
is
> kinda ugly. i.e write this:
>
> "query": {
> "id":"/topic/en/kqed"
> }
>
> -----Original Message-----
>
>
> Here's some quoted text from the reply I got:
>
>> ...
>> If you really, really, need to refresh this cookie to get new data,
>>
> you
>
>> should do an empty HTTP POST to /api/service/mqlwrite. I encourage
you
>> to do this sparingly - this is not a generally supported mechanism
>>
> yet,
>
>> but it should continue to work for the near future.
>>
>
>
_______________________________________________
Developers mailing list
Developers at freebase.com
http://lists.freebase.com/mailman/listinfo/developers
More information about the Developers
mailing list