Forum OpenACS Development: Re: Caching methods in OpenACS, use which?

Collapse
Posted by Don Baccus on
db_* API allows you to specify the ns_cache pool to use, therefore has the benefits of ns_cache in the sense of being able to tune the size of the various pools based on site statistics etc.

I tend to either use query caching directly, or ns_cache eval where I want to cache the result of a series of calculations. I find util_memoize annoying, myself, and I avoid using xotcl in my own custom sites because even fewer people are fluent in xotcl than are fluent in tcl, a downside if a stranger has to come in to work on one of my client sites.