[html-template-devel] Re: html-template's caching of included files

Igor Plekhov penguin at ocean.vvo.ru
Fri Aug 5 11:28:12 UTC 2005


On Thu, 04 Aug, 2005 at 00:44:49 +0200, Edi Weitz wrote:
> 
> > But HTML-TEMPLATE does not check whether files included in the
> > template have changed.  It's a bug.
> 
> No, it isn't.  The docs clearly say that the included file "is
> implicitely converted into a template printer AT GENERATION TIME."

Oh, yes !  But what a sense to check only one of many templates
while they all take a part in the template printer generation ?


> > Also it would be nice to have a feature to completely disable the
> > cache, so that HTML-TEMPLATE will always regenerate template
> > printer.  It would be useful in a development process.
> 
> See the documentation for CREATE-TEMPLATE-PRINTER - specifically the
> :DO-NOT-CACHE keyword.  If you're sure you'll never want to use the
> cache write an :AROUND method for CREATE-TEMPLATE-PRINTER which sets
> the FORCE parameter accordingly.

Yes, it is another way.  But with a parameter it would be more easily.
I am not sure about the cache.


--
Registered Linux User #124759



More information about the Html-template-devel mailing list