[Developers] sandbox caching old values, slow expiration?

Ben Drees ben at metaweb.com
Fri Jan 4 21:49:21 UTC 2008


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.
>>     
>
>   



More information about the Developers mailing list