[PHPTAL] Does stripComments() work?

Kornel Lesiński kornel at aardvarkmedia.co.uk
Tue Nov 11 11:15:24 CET 2008


On 11-11-2008 at 06:27:16 Werner <lists at mollentze.co.za> wrote:

> Hmmm, this makes me wonder... the first thing that jumps to mind is that  
> one would consider caching a template's meta-/config data together with  
> the template itself, in order to detect configuration / state changes  
> since the last cached call? There will probably be a slight performace  
> penalty involved in implementing such a feature - Kornel, what do you  
> think?

It shouldn't be a problem to add settings to filename of cached tempalte.  
This way when settings change, there will be cache miss.

-- 
regards, Kornel



More information about the PHPTAL mailing list