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:

  1. Log into your Drupal 7 admin dashboard.
  2. On the top menu bar, locate the Configuration option and click on it.
    _main-dashboard-configuration
  3. This brings you to the main Configuration category screen. Find the subcategory named Development and click on the Performance link.
  4. Once on the Performance screen, look to the button on the screen at the top named Clear All Caches. Give it a click.
    config-deve-perf-clear-cache

You have now cleared out all caches in Drupal 7.

Continued Education in Course 206: Configuring Caching in Drupal 7
You are viewing Section 2: How to clear caching in Drupal 7
Section 1: How to optimize Drupal
Section 3: Enabling caching for anonymous users in Drupal 7
Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
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.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question
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 ?
Staff
9,968 Points
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.

- Jacob
n/a Points
2014-09-06 3:25 am

when clear cache which file has to to chages because i host portal on server i want clear cache,so after clear cache which file i want to change on server.

Staff
20,113 Points
2014-09-08 8:17 am
Hello pratiksha,

I am not understanding what you are asking. Are you asking what files change when the cache is cleared? Or are you asking if you have to make any changes to files yourself?

Kindest Regards,
Scott M

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

4 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!