25 Feb
2004
25 Feb
'04
3:25 p.m.
Kevin Carlson wrote:
I have a situation where I would like to configure a ZSql query to keep itself cached, but occasionally have the need to invalidate the cached object and force the next result set to come from the database. I have looked at the Da.py code and it looks like it would be possible to bypass the cache with a simple code modification, but that won't give me what I need entirely.
Have you thought about using something like a RAMCacheManager on that ZSQL method and disabling the internal ZSQL caching? cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk