Since the $cid is commented out, neither the cache_get() nor the static variable provide any caching in dynamic_persistent_menu_tree_page_data.
You might as well remove the line $cache = cache_get($cid, 'cache_menu') and save a database hit.
Since the $cid is commented out, neither the cache_get() nor the static variable provide any caching in dynamic_persistent_menu_tree_page_data.
You might as well remove the line $cache = cache_get($cid, 'cache_menu') and save a database hit.