---
title: "Configuring expiration of cached pages setting  in Drupal 7"
description: "Working with performance enhancement tools such as external caching can be doen in Drupal 7. When using these types of tools, you may want to set the maximum time the tool can store Drupal 7 pages in..."
url: https://www.inmotionhosting.com/support/edu/drupal/config-expiration-of-cached-pages/
date: 2012-06-28
modified: 2021-08-16
author: "Scott Mitchell"
categories: ["Drupal"]
type: post
lang: en
---

# Configuring expiration of cached pages setting  in Drupal 7

Working with performance enhancement tools such as external caching can be doen in Drupal 7. When using these types of tools, you may want to set the maximum time the tool can store Drupal 7 pages in the cache. This setting is known as the ‘Maximum Cache Lifetime’ and is easily adjusted in Drupal 7 by following these steps.

**How to enable and set the Expiration of cached pages in Drupal 7:**

1. [Log into your Drupal 7 admin dashboard.](/support/edu/drupal/how-to-log-into-the-drupal-admin-dashboard/)
2. Find the **Configuration **option on the top menu bar and click on that option.[![_main-dashboard-configuration](https://www.inmotionhosting.com/support/wp-content/uploads/2012/06/edu_Drupal_7_Configuration__main-dashboard-configuration.png)](/support/wp-content/uploads/2012/06/edu_Drupal_7_Configuration__main-dashboard-configuration.png)
3. You are now on the **Configuration **screen. Find the **Development **category and click on the **Performance **link.
4. This brings you to the Performance screen. Find the **Expiration of cached pages** dropdown under the **Caching **section. Select your desired timeframe from the dropdown list.[![config-deve-perf-max-cache-life](https://www.inmotionhosting.com/support/wp-content/uploads/2012/06/edu_Drupal_7_Configuration_Development_Performance_config-deve-perf-max-cache-life.png)](/support/wp-content/uploads/2012/06/edu_Drupal_7_Configuration_Development_Performance_config-deve-perf-max-cache-life.png)
5. Scroll to the bottom of the screen and click on the **Save Configuration** button.

Now you know how to enable and set the Maximum Cache Lifespan setting for external caches in Drupal 7.
