[Please send bug reports and questions to the mailing list - see Cc.]
Hi!
On Wed, 3 Aug 2005 12:35:27 +1100, Igor Plekhov <penguin(a)ocean.vvo.ru> wrote:
>> HTML-TEMPLATE maintains a cache of previously created template
>> printers. If the (merged) pathname can be found in this cache and
>> the file denoted by this pathname hasn't changed since the
>> associated cached template printer was created (which is tested by
>> FILE-WRITE-DATE) the cached value will be used and no new template
>> printer will be created.
>
> 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."
> 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.
Cheers,
Edi.