So I take it there's no other way to clear a partial from cache?   Shall I
create a feature ticket?

 

Gert.



 

  _____  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Gert Vrebos
Sent: zaterdag 25 november 2006 11:51
To: [EMAIL PROTECTED]
Subject: [symfony-users] Clear partial cache

 

What is the preferred way to clear a partial from cache?

 

For now, all I can think of is to add my own route:

sf_cache_partial:

  url: /sf_cache_partial/:module/:action/*

 

to prevent the systems sf_cache_partial route

 

and than use:

 

$this->getContext()->getViewCacheManager()->remove('/sf_cache_partial/page/_
myPageTree');

 

which is not very out-of-the-box.

 

Gert. 

 






--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"symfony developers" 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-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to