[development] I added a hook_menu function to my product_type custom module but when I go to "https://mydomain/cart/refreshcart " it says "The requested page could not be found."

Chris Skene chris at xtfer.com
Mon Jan 31 01:20:06 UTC 2011

You can do it manually through the database:

TRUNCATE [TABLE] cache_menu

then navigate to a new page and wait for the rebuild to complete.

Administration menu also had individual cache clearing options in its first dropdown, afaik, however I no longer use it, so I'm not sure.

- chris

On 31/01/2011, at 11:58 AM, Andrew Berry wrote:

> On 2011-01-30, at 3:30 PM, Carl Wiedemann wrote:
>> Any changes to hook_menu requires cache clear.
> Along the same lines; is it possible to do a "selective" cache clear of the menu system? I ask as I am often running large sites locally for development, and rebuilding the menu cache can sometimes take over 2 minutes. Often, I'm just adding an access callback, or slightly changing a menu hook during development. It seems to be a waste to rebuild the whole menu system.
> --Andrew

More information about the development mailing list