Re: [Templates] Template::Plugin::Weather (or how I learned to love Apache::Cache)
[prev]
[thread]
[next]
[Date index for 2004/12/15]
On Tue, 2004-12-14 at 22:21 -0500, Todd Freeman wrote:
> Looks like a good module... Only thing I seem to be missing there is
> that (at least from what I read) you can only set the expire time on a
> per cache basis and not per-key.
Agreed. I think we should pester Rob about this until he implements
per-key expirations.
Meanwhile, you could manage the expiration yourself as part of the data
(e.g. store a hash ref that includes expiration and check it on the way
out), but that's a pain. It will still probably beat the pants off
Apache::Cache though.
Other fast storage mechanisms include BerkeleyDB and a local MySQL
server, but you'd have to do the expiration stuff yourself with those
too.
- Perrin
_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates