Forum OpenACS Development: Re: How to disable caching temporarily

Collapse
Posted by xx xx on
That would be great. Since util_memoize_flush_regexp does not seem to exit on my system (4.5) and util_memoize_flush looks very awkward. I checked the 4.5-tarball too. Could you maybe post the procs.
Collapse
Posted by Jeff Davis on
Aldert, util_memoize_flush_regexp is checked into CVS in acs-tcl/tcl/memoize-procs.tcl

Here is a little code snippet that would also clear the whole cache:

foreach name [ns_cache names util_memoize] {
  ns_cache flush util_memoize $name
}