On Wed, 2005-01-05 at 10:52 -0800, Len Weisberg wrote:
> I have another question about caching in this sort of environment:
> 
> I would like to be able to indicate for a particular run of process():
>   a) do NOT use the compilation cached in the COMPILE_DIR
>   b) but DO store the results of this run into the COMPILE_DIR

Why?  It will already replace the old one if you update the template
source file.

> Perhaps this boils down to supporting an explicit cache-purge
> for a particular file.

When I need to remove the compiled template code (because of a TT
upgrade or a major change in config options), I just rm the whole
COMPILE_DIR directory.

- Perrin


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

Reply via email to