Memcache and Smarty

Marcus Bointon marcus at
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://
In particular notice {insert}, and also that plugins can choose  
whether their output is cached.

Marcus Bointon
Synchromedia Limited: Creators of
UK resellers of info at hand CRM solutions
marcus at |

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the memcached mailing list