Re: [symfony-users] Where to clear the cache

2009-12-01 Thread Lee Bolding
On 1 Dec 2009, at 13:46, Timmipetit wrote: > Now let's say that messages will be created/edited/deleted in 2 > modules in the frontend, and maybe also from the backend (or even a > plugin). When this happens, the cached partial from that user should > be deleted. > The easiest way to do this in th

[symfony-users] Where to clear the cache

2009-12-01 Thread Timmipetit
Hi everyone, I'm thinking about the following issue, where and how should the cache be cleared? Let's assume a scenario with 2 models: user and message. A message has a reference to a user. On the user-page (in the frontend) a partial is included that shows all the messages belonging to that user.