Re: [SMARTY] Cache & Include

From: Date: Thu, 18 Mar 2004 21:24:01 +0000
Subject: Re: [SMARTY] Cache & Include
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-11147@lists.php.net to get a copy of this message
On Thu, Mar 18, 2004 at 01:45:45PM -0700, Hoffman, Geoffrey wrote: > When I have caching turned on and using includes... > > I have a.tpl that includes b.tpl > > (Cron script updates/recreates b.tpl once every 5 minutes.) > > Even though b.tpl has a new moddate, the changes to b.tpl don't show up > until the cache for a.tpl is cleared, because b.tpl's (old) content is > included in a's cache. > > Do I have that correct? if you have $smarty->compile_check set to true the cached file should be regenarted if you modify b.tpl . if it doesn't it may be a bug. > TIA- > > Geoffrey D. Hoffman > Lead Web Developer > Arizona Interactive Media Group > mailto:ghoffman@aztrib.com

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