How do I completely disable cache?

后端 未结 3 843
天涯浪人
天涯浪人 2021-02-19 21:35

Drupal 6\'s cache can be set to disabled, normal or aggressive. I cannot find these options for my Drupal 7 installation. There is only a button that flushes all the cache but i

3条回答
  •  深忆病人
    2021-02-19 21:57

    There are many different levels of caching involved.

    • The menu system is not actually a cache. If you change anything in hook_menu(), you need to rebuild it. devel.module provides a handy link for that in the development block.

    • Additionally, Drupal also caches hook implementation and many other things, which you can clear with another link in the development block or if you have drush installed, with "drush cc all". There is also a way to disable it completely but that could make your site quite slow: http://drupal.org/node/797346

提交回复
热议问题