[Seaside] Re: Template caching

Avi Bryant avi@beta4.com
Thu, 25 Apr 2002 14:21:13 -0700 (PDT)


On Thu, 25 Apr 2002, Nevin Pratt wrote:

> OK, I have a few more questions and comments:
>
> 1. Anybody know why 'IAPage class >> flushTemplateCache' also walks the
> subclasses and flushes their template caches?

Because the only reason I ever need to flush it is when making changes to
the internals of Seaside, which affects all templates at once.  You
shouldn't ever have to manually flush the templates in normal operation.

Does that answer your other questions too?   Or am I missing something?
Of course, there's nothing wrong with adding a method that just flushes an
individual cache, I just wouldn't expect it to be used much.