Keep Calm and Clear Cache

This course covers the various methods for clearing Drupal’s cache, including using the administrative user interface, Drush commands, and directly manipulating the database.

Key topics

  • Clearing the cache via the Administrative UI
  • Using Drush to clear cache
  • Manually clearing the cache by truncating cache-related tables in the database
Tutorials in this course
Categories
Drupal 8, 9, 10, and 11
More information

Knowing how to clear Drupal's cache is an important skill for any developer. You'll likely find yourself doing it frequently in order to get Drupal to register the changes you make to your code, or other updates you make via the UI. It is also a good first step to trouble shooting problems with your Drupal site: Clear the cache before you do any other debugging to ensure it's not just a bad cache entry.

This course appears in the following guides:
Site Administration
Learn how to manage configuration, search, content workflows, performance, and more.

Drupal Site Administration