Turning Off Drupal 7's Cache

13,856

Solution 1

Install Drush and run drush cc all on the command line.
And/or install Admin Menu and hover over the Drupal icon in the top left corner, then on "Flush all caches". And finally you could install the Devel module and check the box that reads "rebuild the cache registry on each page load."

Solution 2

See http://drupal.org/node/797346.

Btw, already answered this some time ago at How do I completely disable cache?

Share:
13,856
Alan Storm
Author by

Alan Storm

Portland based Web Developer/Programmer/Engineer. Projects include No Frills Magento Layout, the only Magento layout book you'll ever need and Commerce Bug, the debugging extension for the Magento Ecommerce system. If you're interested in low cost, in-depth mentoring/tutoring, checkout my Patreon campaign.

Updated on June 10, 2022

Comments

  • Alan Storm
    Alan Storm almost 2 years

    Is there a way to run Drupal 7 in a "non-cache" mode while developing new modules? My specific need is to turn off any caching of modules and/or module information during development so I don't need to clear the cache when I make my changes, but generally when learning a new system I prefer its internal cache be off since I haven't yet learned what changes require a cache clearing, and what don't (i.e. "Am I doing this wrong, or are the old results just cached?"

    Also, is there a way to quickly clear out the Drupal cache from the command line (instead of having to use the application UI in the performance section)