How do I empty Drupal Cache (without Devel)

前端 未结 12 2555
小鲜肉
小鲜肉 2021-02-18 18:07

How do I empty the Drupal caches:

  • without the Devel module
  • without running some PHP Statement in a new node etc.
  • without going i
12条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-18 18:39

    In Drupal 8, the admin menu module isn't quite ready for use yet. And it will probably get replaced with Drupal "Toolbar". So right now there's no easy way to clear cache, without actually going to:

    admin/config/development/performance
    

    The only alternative is to add a menu item in the existing toolbar. This can be done by using this module, but as you can see, it still needs a bit of work. I got it working, but had to make a few tweaks.

提交回复
热议问题