[Developers] mqlread queries and caching

Phil Gochenour phil at metaweb.com
Fri Sep 5 23:41:43 UTC 2008


Hi Augusto, 

have a look at this Help topic and let us know if it solves the problem for you:

Avoid caching problems when using the API
http://www.freebase.com/view/guid/9202a8c04000641f80000000076224e8

Phil

----- Original Message -----
From: "Augusto Callejas" <acallejas at appliedminds.com>
To: "For discussions about MQL, Freebase API and apps built on Freebase" <developers at freebase.com>
Sent: Friday, September 5, 2008 4:31:59 PM (GMT-0800) America/Los_Angeles
Subject: [Developers] mqlread queries and caching

hi-

my question is about the caching that occurs when you query
/api/service/mqlread.

at time t1 i run a query and get back results.
at time t2 i perform mqlwrite operations.
at time t3 i rerun the query i ran at time t1, expecting to see the changes
i made at t2, but only see the results at t1.

(times are t1 < t2 < t3)

i understand the use of query caching for performance reasons, but i need a
way to get the changes i made at t2 at some future point using the query i
made at t1.

can i:

1) disable query caching from the client side on a per-query basis?
2) determine programmatically what time the results of a query (in this
case, the results of querying at time t3 would indicate that the results
were valid at t1) were valid at?
3) know how long a cache of query results stays alive for?

thanks,
augusto.


_______________________________________________
Developers mailing list
Developers at freebase.com
http://lists.freebase.com/mailman/listinfo/developers



More information about the Developers mailing list