One of the more confusing settings in Drupal 7 is the Minimum Cache Lifetime. This setting manages caching with a minimum timeframe, meaning that the cache will not clear any pages that have not yet met that minimum lifetime requirement. It is a setting that forces the cache to live for a specific time before being able to be flushed. For example, all cache gets emptied when content is added or updated. Any pages that were under the minimum cache lifetime will not be cleared. Enabling the minimum cache lifetime setting in Drupal 7 is very easily done by performing the following steps.

How to enable and set the minimum cache lifespan 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, locate the Caching section and select your desired lifetime setting from the dropdown. This ranges from 1 minute to 1 day.
    config-deve-perf-min-cache-life
  5. Once finished, go down to the bottom of the screen and click the Save Configuration button.

You have now enabled and configured the minimum cache lifetime setting in Drupal 7.

Continued Education in Course 206: Configuring Caching in Drupal 7
You are viewing Section 5: How to configure minimum cache lifespan in Drupal 7
Section 4: How to enable cache blocks in Drupal 7
Section 6: Configuring expiration of cached pages setting 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

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.

0 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!