On Tue, 2003-06-10 at 13:27, Jon Ross wrote:
> My reason for asking here is that I had assumed there was a way of making
> template data available to all subsequent templates rather than having to
> re-process it (even if from the cache) with every template.

Data that you pass into a template is accessible to all templates called
from that that first one, but what I hear you asking is how to make data
persist between multiple requests, i.e. totally separate invocations of
the same program, which could be in separate perl processes.  To do
that, you need some kind of inter-process cache like the ones I
mentioned.

If you want a quick solution, you could try the cache plugin I wrote,
Template::Plugin::Cache, available from CPAN.  It uses Cache::Cache
under the covers.

- Perrin

_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to