Closed (fixed)
Project:
Advanced Book Blocks
Version:
6.x-1.9
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
6 Dec 2009 at 12:13 UTC
Updated:
13 Dec 2009 at 00:03 UTC
I have book with 150 nodes. There is block of this book on page. With devel module I see 500+ get_book_children requests (like SELECT mlid, weight, link_title FROM z_menu_links WHERE plid = 11392 ORDER by weight, link_title). I have host limits by SQL requests count :(
Can you decrease requests count? It will be very good. Thanks
Comments
Comment #1
PixelClever commentedI suggest using block cache alter module to cache the block. This will eliminate all of those calls. http://drupal.org/project/blockcache_alter. From what I understand in D7 this capability may be added to core.
Otherwise you are welcome to present a patch that reduces sql queries as long as it does not alter the functionality in any way. Be careful though, the count has some twist and turns to it.
Comment #2
super_romeo commentedThanks
Comment #3
PixelClever commented