[support] How to disable the menu cache on Drupal 7

DTH david at hartster.org
Thu Jan 12 16:10:59 UTC 2012


Perfect. Thanks!

> From: sumeet pareek <positivecharge at gmail.com>
> How about adding this in hook_init() of any module -
> http://api.drupal.org/api/drupal/includes--menu.inc/function/menu_rebuild/7
> That should do it.
>
> On Thu, Jan 12, 2012 at 6:35 PM, DTH <david at hartster.org> wrote:
>
>> I'm developing a custom module. This means adding lots of things via
>> hook_menu. Every time I add a new menu item, I need to clear all
>> caches via the Performance page. Is there anyway to prevent this data
>> being cached in the first place?


More information about the support mailing list