Re: [SMARTY] smarty and GNU gettext

[email protected] (Owen Cole) Tue, 30 May 2006 14:09:00 -0400
Newsgroups php.smarty.general
Organization Total Sales & Marketing
Message-ID <[email protected]>
http://smarty.php.net/manual/en/caching.cacheable.php

Look at
*Example 14-11. Preventing a whole passage of a template from being cached*


D_C wrote:
> hi -
>
>> >caching = 2 in the docs too), so just because one part of your page
>> is dynamic doesn't mean you have to lose out on caching altogether.
>>
>> That clearer?
>
> yes, thats awesome, thanks.
> so basically all the language dependent stuff (eg menu button names)
> can be cached.
> And changeable stuff (eg userName) can get processed each page.
>
> hwoever, i think this means using {insert} and sepearate files, so
> things will get a bit broken up. there isnt a way to do something like
>
> {#menuName}
> {noCache}
> {$userName}
> {/noCache}
>
> to allow all the cache/nocache content to be in one file?
>
> thanks a lot!
>
> /dc
>
>