Memcache and Smarty

Marcus Bointon marcus at synchromedia.co.uk
Mon Sep 10 08:06:03 UTC 2007


On 10 Sep 2007, at 08:50, Rob Sharp wrote:

> Smarty will compile each of these sections individually and then  
> cache the page as a whole. There's not currently (AFAIK) template- 
> level caching in Smarty, but one of my co-workers has a working  
> implementation that we're testing.

That's not true. Smarty caches whole templates, but one template can  
be included in another, hence you can get selective caching of page  
elements. Read the docs carefully as it's quite fiddly: http:// 
smarty.php.net/manual/en/caching.php
In particular notice {insert}, and also that plugins can choose  
whether their output is cached.

Marcus
-- 
Marcus Bointon
Synchromedia Limited: Creators of http://www.smartmessages.net/
UK resellers of info at hand CRM solutions
marcus at synchromedia.co.uk | http://www.synchromedia.co.uk/


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.danga.com/pipermail/memcached/attachments/20070910/d0d0e19f/attachment.htm


More information about the memcached mailing list