[Catalyst] Simple caching question

Jesse Sheidlower jester at panix.com
Thu Nov 6 21:40:48 GMT 2008


I've never used caching before, and am considering adding it
to one of my apps. Basically, this is a database-backed app
where the underlying data changes very rarely. There's no
login. The only dynamic thing that happens is an occasional
search.

Is my best practice going to be just using C::P::PageCache,
setting some long expiry time, and setting auto_cache to
'^(search)', and that's it? (All search results will have a
"search" in the URL, but nothing else will.) There are no
other places where I would need to control the cached-ness, or
the timing, in a more granular way.

If so, which cache plugin do people like, for a FreeBSD
server?  Memcached? 

And if not, what's the way to handle this?

Thanks.

Jesse



More information about the Catalyst mailing list