On 15 Apr 2009, at 07:23, Alexander Tamm wrote:
J. Shirley wrote:
I'm trying to find out how to implement caching on a site,
preferrably with Cache::FastMmap, but I'm open to suggestions.
I'm
not including my trial source now, since I'm unsure I have
read the
correct documentation.
Catalyst::Plugin::PageCache?
Thanks, but I want to cache values that are the result of expensive
database queries, preferrably a a hash reference.
Take a look at Catalyst::Plugin::Cache. The docs are a bit crap
(patches welcome!), but it'll do what you want, and has nice features
to give you curried accessors for things etc..
I'd personally combine that with Cache::Memcached, but you can use
whatever Cache:: backend you want.
Cheers
t0m
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/