> On Nov 28 2006, 1:36 pm, Fabien POTENCIER <[EMAIL PROTECTED]
> project.com> wrote:
>
> To remove a partial, you can use something like this:
>
>
> $this->getContext()->getViewCacheManager()->remove('@sf_cache_partial?modul
e=X&action=Y&sf_cache_key=Z');
How do you find out what the cache key (Z) IS for a given partial /
component / slot?
Also, if Im caching without layout, but the view is composed of
several pieces (global header, navigation bar, footer), how would I
cache the individual pieces (header.php, nav.php) in apps/myapp/
templates/ ??? (I want to cache some of those completely). I know I will
need to edit and specify inside them what parts I want to cache and what
cache keys they should use).
--
Aj.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---