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 |
Jump to:
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
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
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
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
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
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
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
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
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.