I have inherited a Drupal 7 site, and it is running quite slowly.
After enabling the Devel Query output, I noticed (not that it would be hard or anything) that there is a 65ms query
DELETE FROM menu_router. There are also roughly 25 other queries, all coming from the
It seems to me that the Menu Router is being rebuilt on every single page request... Currently, our themer is rebuilding the theme registry on every build -- but that should be
drupal_theme_rebuild(), correct? I don't see anything on that function's page that would indicate it also rebuilds the menu router..
Additionally, I recently installed a custom module, and
hook_theme would never actually take -- I tried clearing the cache and rebuilding the menu router, but I ended up having to add the values manually to the
menu_router table. This makes me wonder if the
menu_router table is even being truncated during this ~65ms query.
Does anyone know why my Drupal 7 site would be trying to do this?