[Catalyst] template toolkit caching
Peter Karman
peter at peknet.com
Thu May 31 17:52:19 GMT 2007
John Goulah wrote on 5/31/07 11:34 AM:
> Is there any way to override the file cache in the template toolkit, and
> use
> some other form of caching such as memcache? File cache really isn't that
> desirable when shared across many servers and I'd prefer not to have to
> write to disk.
>
I believe Template::Plugin::Cache will do what you want. Perrin (the author) has
a patch from me that lets you pass in the Cache object from Catalyst and use
that, so any supported backend is available. If you bug him, I'll bet he'll get
a new version up on CPAN. ;)
--
Peter Karman . http://peknet.com/ . peter at peknet.com
More information about the Catalyst
mailing list