Home
Options

How to keep the Util.Cache() result across multiple query?

Is it possible to cache results using Util.Cache() across query? Maybe set a expiration time or set a condition to invalidation. Right now, it can cache data between runs of a single query. When I close the query and re-open again, the cache is also cleared.

If this is not possible, do you have any recommendation to implement this feature?

Comments

  • Options

    It's an interesting request - I'll look into this over the next few weeks. It would come with some limitations and performance consequences, in that everything would need to be serialized (and to disk).

Sign In or Register to comment.