How do I empty Drupal Cache (without Devel)

前端 未结 12 2502
小鲜肉
小鲜肉 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:47

    I found the following at: http://www.drupalgardens.com/content/clear-all-caches-not-working

    There's another layer of caching around the site which "clear all caches" does not affect, you're right. That's the layer that stores the content for anonymous users.

    If you want to bypass the cache for testing purposes, you can add a junk query string to the end of your site path. For example, if you wanted to bypass the cache on example.drupalgardens.com/foo you could visit example.drupalgardens.com/foo?bar=baz or any other random text set up like ?xxxxx=xxxxx.

    This helped me, because I have had issues where clearing the cache under Configuration > Performance didn't seem to help.

提交回复
热议问题