On Fri, 23 Oct 2009, HAUSa wrote:

> My problem is that every time I use that select box, 9 queries are
> being executed. One for the retrieval of the main categories and then
> for every category to check if there are subcategories. I don't want
> all these queries to be executed every time.
> 
> So, is it possible to cache the return value of this Peer function?

http://www.symfony-project.org/book/1_2/18-Performance#chapter_18_sub_caching_the_result_of_a_function_call


-- 



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to