Add "Enable/disable caching" menu item

sun - January 27, 2009 - 03:35
Project:Devel
Version:6.x-1.x-dev
Component:devel
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

http://www.garfieldtech.com/blog/drupal-cache-disable
http://drupal.org/project/cache_disable
...

After all, it's a variable. We have "Enable/disable developer modules" already, so why not also a "Enable/disable caching" menu item? (likewise, in the icon menu)

#1

CrashTest_ - January 27, 2009 - 03:38

Honestly, I keep looking for this in the first drop-down, then I go "oh yeah, that isn't in there". My vote is to put it in there so I can finally feel satisfied when I go to that menu :)

#2

Crell - January 27, 2009 - 06:42

Does this belong in admin menu? I'd think it would be a toggle in devel, which is for development, not for admin menu, which is for long-term administration.

#3

sun - January 27, 2009 - 15:35

Right. Currently, admin menu registers a bunch of additional items on behalf of Devel module (i.e. when Devel is enabled). I plan to move those items into Devel module at some point in the future (when I feel safe enough to hand that logic out into other hands, i.e. when the underlying API has been improved and set in stone).

#4

Crell - January 27, 2009 - 16:55

I mean shouldn't the toggle itself be part of the devel block, not admin menu, just like the "enable/disable theme developer" link.

#5

sun - January 27, 2009 - 18:52

Hm. To be honest, since admin menu started to provide links for Devel, I no longer have those Devel blocks enabled on all sites. Most often, the design of a site does not take those additional blocks into account, so they either break the layout or lead to false assumptions for content in sidebars.

#6

Crell - January 27, 2009 - 19:22

Since in D6 devel just provides an actual menu, it seems like this functionality should be there. Then, add the ability for any arbitrary menu to be stuck into admin menu via checkbox. (sdboyer and I discussed this a while back but never got around to it.) Poof, devel stuff lives in devel and integrates into admin menu trivially for those who want it.

#7

sun - March 5, 2009 - 03:33
Project:Administration menu» Devel
Version:6.x-1.x-dev» 6.x-1.x-dev
Component:Code» devel

ok, so for admin_menu, this is rather a duplicate of #293768: Allow to enable/disable menu additions.

However, I'd like to know whether Devel maintainers would be interested in adding this feature?

#8

moshe weitzman - March 5, 2009 - 13:18

Yes, I'd accept such a patch for a new menu item that disables caching. I think we recently did this for theme registry cache. needs integration with the menu item.

 
 

Drupal is a registered trademark of Dries Buytaert.