On Fri, 24 Apr 2009, HiDDeN wrote: > Ok, so, the next time we call that url, we will receive the same page, > but the action is now cached!
That's right, because you've cached the WHOLE action instead of the partials and fragments of the template. > So, my question is... do you know some mechanism to execute ALWAYS a > portion of code before or after that action? > I have thought about a filter, but filter will execute with every > action in the site. I just need to execute it for that only action. Break the template down into pieces. http://www.symfony-project.org/book/1_2/12-Caching#chapter_12_sub_caching_a_template_fragment -- --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
