[drupal-devel] [drupal-dev] menu_hook caching problem?
Gabor Hojtsy
gabor at hojtsy.hu
Tue Sep 20 19:25:53 UTC 2005
> I've been playing with the menu hooks, particularly with the Events
> module and noticed that changes are not reflected immediately and/or
> "linger" unless the corresponding cache record in the cache table is
> deleted. Steps to reproduce:
>
> 1. execute DELETE FROM Cache statement in MySQL
> 2. modify $items array in hook_menu
> 3. invoke module/request new path (GET /new/path)
>
> I have caching set to "disabled" in the admin > settings, but $may_cache
> is set to true; why is it caching it?
Look at what caching have you disabled in admin > settings. Hint: page
cache. Menu caching, locale caching, filter caching, variable caching,
etc. cannot be turned off (from the user interface).
Goba
More information about the drupal-devel
mailing list