When working with your site, it is generally a good idea to keep caching enabled for performance. This speeds up the site by keeping recent data in memory and displaying that same data for a specific time period.

On your site, however, there may be a need for the visitor to see the data on your views at real time. This means no cache memory stored. It can have a tremendous impact on the performace of your site as the database will have to be accessed and the data refreshed each time the view is accessed. Disabling the Views cache is global so it does so for all views. That is a call you will have to make on your own, but if you do decide you need to disable the cache you can certainly do so in your Drupal 7 Views. The instructions below demonstrate how to do that.

Disabling the View module cache in Drupal 7

  1. Log into your Drupal 7 admin dashboard.
  2. From the top menu bar, locate the Structure option and click it.
    structure
  3. Click on the Views option to move to the next screen.
    structure-views
  4. You are now on the Views list screen. Look to the upper right and you will see two tabs. Click on the one that is labeled Settings.
    views-settings
  5. Once you get to the Settings page click on the Advanced tab on the left side. This refreshes the page to the advanced settings. At the top, just under the Caching category is a checkbox labeled Disable Views Data Caching. This needs to be checked to disable the caching.

    Again, this can have a large performance impact on the speed of the site, making it slower overall. Alternatively, there is also a button labeled Disable Views' Cache for simply clearing the cache if you wish to refresh it without disabling it.
    settings-adv
  6. Once finished, scroll down and click on the Save Configuration button at the bottom. You have now disabled the caching for all Views on your Drupal 7 website.
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 our Support Center:
Email Address
Optional, but our team may contact you for more information.
Like this Article?

Post a Comment

Name:
Email Address:
Comment:
Are you a bot?
Submit

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

Write New!
Do you want to publish a tutorial to our support center?

News / Announcements

SSL Certficate Warnings
Updated 2014-04-14 11:34 am EST
Hits: 1898
Heartbleed 0-day OpenSSL security bug
Updated 2014-04-14 04:43 pm EST
Hits: 5137

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

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!