Re: [SMARTY] Smarty Caching

From: Date: Tue, 10 Feb 2004 09:13:24 +0000
Subject: Re: [SMARTY] Smarty Caching
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-10939@lists.php.net to get a copy of this message
On Sun, Feb 08, 2004 at 06:10:05AM -0800, Vonleigh Simmons wrote: > Hello, > > In the setup of a site I'm working on I subclass smarty and add > $this->caching = 2; since different pages will have different expiry > times for their cache. However I have one page that shouldn't be cached > at all. Should I override the value in that specific page turning off > caching (smarty->caching = false;) or should I make the expiry time 0? It depends. Setting caching off for this case is a little faster. With an expriy of 0 the page is written to the cache everytime unnecessarily. > Vonleigh Simmons [vanlei] > San Francisco, CA > <www.illusionart.com/pi/>

« previous php.smarty.general (#10939) next »