How to clear caching in Drupal 7
Setting up cache in Drupal can speed things up for your site and enhance the site's overall performance. Caching is great as it keeps snapshots of data and pages so reload time is much quicker. There are times, however, when you may need to clear the cache. Caching mechanisms sometimes get hung or maybe you simply want to push out a change to your site as quickly as possible. Clearing the cache can help with that. It is very easy to clear caching within Drupal 7 by folloing these simple steps.
Deleting the cache content in Drupal 7:
- Log into your Drupal 7 admin dashboard.
- On the top menu bar, locate the Configuration option and click on it.
- This brings you to the main Configuration category screen. Find the subcategory named Development and click on the Performance link.
- Once on the Performance screen, look to the button on the screen at the top named Clear All Caches. Give it a click.
You have now cleared out all caches in Drupal 7.
We value your feedback!
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
new! - Enter your name and email address above and we will post your feedback in the comments on this page!
Configuring Caching in Drupal 7
2013-09-28 11:33 am
hi, i have a problem with my site.i have to clear cache manually each time i need the site to feel the new changes of adding new nodes and editing them.
what is the problem? is this a common issue ?
2013-10-01 3:50 pm
Hello ashraf541, and thanks for your comment.
When you have caching enabled in Drupal, this is the intended result, with old content being cached until the cache is cleared out. You might also see if you can clear out your local web-browser's cache to see if you can see your new nodes after adding them that way.
On the Performance screen mentioned in this article, you could reduce the time for the Expiration of cached pages, so that it doesn't cache them for very long. However leaving this setting at a low interval can have a negative performance impact due to the cache not being used as it's constantly reset.
Please let us know if you're still having any issues after trying this out.