We needed a back-port of the menu_get_item caching done in Drupal 7 (http://drupal.org/node/643984) for performance reasons. This prevents a relatively expensive query from being called repeatedly when cache is available.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | menu_get_item_caching_drupal6_backport-1.patch | 1.28 KB | csavio |
| menu_get_item_caching_drupal6_backport.patch | 990 bytes | csavio |
Comments
Comment #1
csavio commentedI forgot to add a comment and move two things that don't need to be processed if cache is available. This is closer to the Drupal 7 implementation. http://api.drupal.org/api/drupal/includes--menu.inc/function/menu_get_item
Comment #2
rjbrown99 commentedAlso see this issue: #1234830: Revert cache_menu patch removal, add a $conf setting instead (was: cache_menu: huge table size). It addresses a change in logic that was implemented in D7 to roll this back.