--- label: 'Clearing the site cache' related: - core.maintenance --- {% set performance_url = render_var(url('system.performance_settings')) %}

{% trans %}Goal{% endtrans %}

{% trans %}Clear the data in the site cache.{% endtrans %}

{% trans %}What is the cache?{% endtrans %}

{% trans %}Some of the calculations that are done when your site loads a page take a long time to run. To save time when these calculations would need to be done again, their results can be cached in your site's database. There are internal mechanisms to clear cached data when the conditions or assumptions that went into the calculation have changed, but you can also clear cached data manually. When your site is misbehaving, a good first step is to clear the cache and see if the problem goes away.{% endtrans %}

{% trans %}Steps{% endtrans %}

  1. {% trans %}In the Manage administrative menu, navigate to Configuration > Development > Performance.{% endtrans %}
  2. {% trans %}Click Clear all caches. Your site's cached data will be cleared.{% endtrans %}

{% trans %}Additional resources{% endtrans %}