How do I empty Drupal Cache (without Devel)

前端 未结 12 2556
小鲜肉
小鲜肉 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条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-18 18:56

    On-demand clearing can be done in Administer > Site Configuration > Performance.

    You should setup the cron job to run every hour (or whatever interval to your liking).

    When cron is run on Drupal, all caches are cleared and rebuilt without the need for a human to manually do it.

    If this question pertains to theming, you should disable the caching mechanisms (css/js aggregation) and you won't have to clear the cache data when you make changes.

提交回复
热议问题