Forum OpenACS Q&A: Re: Best way to cache a multirow?

Collapse
Posted by Peter Marklund on
Jeff,
thanks for the tip about vacuuming, I should do that nightly, right?

On the topic of caching, I just discovered the Cache control page where you can see everything cached by util_memoize (find it at /acs-admin/cache). I added a link to the page so that people can find it.

We are going to be using ns_cache quite heavily now for the workflow Tcl API.

Collapse
Posted by Jeff Davis on
nightly probably is fine. Thats what I usually do. if you have a table with a lot more turnover you might want to vacuum it a little more often (not common on personal sites).

On ns_cache, one thing is the default cache size is 200k I think with is insanely small. We should bump it to 10mb or something I think.

The acs-admin/cache stuff is nice. It came from the worldbank stuff -- thanks evil NGO bent on world domination :) I forgot to merge it over to 4.6 (which I just did).