Forum OpenACS Improvement Proposals (TIPs): Re: TIP #57 (Proposed) Add caching db_* API (based on Greenpeace/Berkeley work) to 5.2

maybe ignore the following harebrained idea..

Instead of using a cache time-to-expire,

have a tcl array (somewhere in tcl namespace) that tracks time of last write to the table (and time query was cached).  Then have the query automatically clear the cache when the time of the cached query is older than the latest write to that table.