{"id":1535,"date":"2012-06-28T14:15:09","date_gmt":"2012-06-28T18:15:09","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2012\/06\/28\/config-min-cache-lifespan\/"},"modified":"2021-08-16T23:39:41","modified_gmt":"2021-08-17T03:39:41","slug":"config-min-cache-lifespan","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/config-min-cache-lifespan\/","title":{"rendered":"How to configure minimum cache lifespan in Drupal 7"},"content":{"rendered":"<p>One of the more confusing settings in Drupal 7 is the <strong>Minimum Cache Lifetime<\/strong>. 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.<\/p>\n<h2>How to enable and set the minimum cache lifespan in Drupal 7:<\/h2>\n<ol class=\"article_list\">\n<li><a href=\"\/support\/edu\/drupal\/how-to-log-into-the-drupal-admin-dashboard\/\">Log into your Drupal 7 admin dashboard.<\/a><\/li>\n<li>On the top menu bar, locate the <strong>Configuration <\/strong>option and click on it.<br><a href=\"\/support\/wp-content\/uploads\/2012\/06\/edu_Drupal_7_Configuration__main-dashboard-configuration.png\" rel=\"lightbox-0\"><img decoding=\"async\" width=\"1018\" height=\"509\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/06\/edu_Drupal_7_Configuration__main-dashboard-configuration.png\" class=\"optimized-lcp-image\" alt=\"_main-dashboard-configuration\" loading=\"eager\" fetchpriority=\"high\" sizes=\"(max-width: 768px) 100vw, 768px\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/06\/edu_Drupal_7_Configuration__main-dashboard-configuration.png 1018w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/06\/edu_Drupal_7_Configuration__main-dashboard-configuration-300x150.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/06\/edu_Drupal_7_Configuration__main-dashboard-configuration-768x384.png 768w\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<\/li>\n<li>This brings you to the main <strong>Configuration <\/strong>category screen. Find the subcategory named <strong>Development <\/strong>and click on the <strong>Performance <\/strong>link.<\/li>\n<li>Once on the <strong>Performance <\/strong>screen, locate the <strong>Caching <\/strong>section and select your desired lifetime setting from the dropdown. This ranges from 1 minute to 1 day.<br><a href=\"\/support\/wp-content\/uploads\/2012\/06\/edu_Drupal_7_Configuration_Development_Performance_config-deve-perf-min-cache-life.png\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" alt=\"config-deve-perf-min-cache-life\" class=\"std_ss size-full wp-image-7891\" height=\"651\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/06\/edu_Drupal_7_Configuration_Development_Performance_config-deve-perf-min-cache-life.png\" width=\"935\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/06\/edu_Drupal_7_Configuration_Development_Performance_config-deve-perf-min-cache-life.png 935w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/06\/edu_Drupal_7_Configuration_Development_Performance_config-deve-perf-min-cache-life-300x209.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/06\/edu_Drupal_7_Configuration_Development_Performance_config-deve-perf-min-cache-life-768x535.png 768w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/a>\n<div style=\"clear:both;\"><\/div>\n<\/li>\n<li>Once finished, go down to the bottom of the screen and click the <strong>Save Configuration<\/strong> button.<\/li>\n<\/ol>\n<p>You have now enabled and configured the minimum cache lifetime setting in Drupal 7.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/config-min-cache-lifespan\/\"> Read More ><\/a><\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[372],"tags":[],"class_list":["post-1535","post","type-post","status-publish","format-standard","hentry","category-drupal"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to configure minimum cache lifespan in Drupal 7 | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"This Drupal 7 article takes you through configuring the minimum cache lifespan for data.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/config-min-cache-lifespan\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to configure minimum cache lifespan in Drupal 7 | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"This Drupal 7 article takes you through configuring the minimum cache lifespan for data.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/config-min-cache-lifespan\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2012-06-28T18:15:09+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-17T03:39:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/06\/edu_Drupal_7_Configuration__main-dashboard-configuration.png\" \/>\n<meta name=\"author\" content=\"Scott Mitchell\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Scott Mitchell\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/config-min-cache-lifespan\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/config-min-cache-lifespan\/\"},\"author\":{\"name\":\"Scott Mitchell\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/d850efb28ef3573db7d24b0d8fa9eaed\"},\"headline\":\"How to configure minimum cache lifespan in Drupal 7\",\"datePublished\":\"2012-06-28T18:15:09+00:00\",\"dateModified\":\"2021-08-17T03:39:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/config-min-cache-lifespan\/\"},\"wordCount\":212,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/config-min-cache-lifespan\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/06\/edu_Drupal_7_Configuration__main-dashboard-configuration.png\",\"articleSection\":[\"Drupal\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/config-min-cache-lifespan\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/config-min-cache-lifespan\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/config-min-cache-lifespan\/\",\"name\":\"How to configure minimum cache lifespan in Drupal 7 | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/config-min-cache-lifespan\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/config-min-cache-lifespan\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/06\/edu_Drupal_7_Configuration__main-dashboard-configuration.png\",\"datePublished\":\"2012-06-28T18:15:09+00:00\",\"dateModified\":\"2021-08-17T03:39:41+00:00\",\"description\":\"This Drupal 7 article takes you through configuring the minimum cache lifespan for data.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/config-min-cache-lifespan\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/config-min-cache-lifespan\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/config-min-cache-lifespan\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/06\/edu_Drupal_7_Configuration__main-dashboard-configuration.png\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/06\/edu_Drupal_7_Configuration__main-dashboard-configuration.png\",\"width\":1018,\"height\":509,\"caption\":\"_main-dashboard-configuration\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/config-min-cache-lifespan\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to configure minimum cache lifespan in Drupal 7\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/d850efb28ef3573db7d24b0d8fa9eaed\",\"name\":\"Scott Mitchell\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/scott\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to configure minimum cache lifespan in Drupal 7 | InMotion Hosting","description":"This Drupal 7 article takes you through configuring the minimum cache lifespan for data.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/config-min-cache-lifespan\/","og_locale":"en_US","og_type":"article","og_title":"How to configure minimum cache lifespan in Drupal 7 | InMotion Hosting","og_description":"This Drupal 7 article takes you through configuring the minimum cache lifespan for data.","og_url":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/config-min-cache-lifespan\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2012-06-28T18:15:09+00:00","article_modified_time":"2021-08-17T03:39:41+00:00","og_image":[{"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/06\/edu_Drupal_7_Configuration__main-dashboard-configuration.png","type":"","width":"","height":""}],"author":"Scott Mitchell","twitter_card":"summary_large_image","twitter_creator":"@InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"Scott Mitchell","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/config-min-cache-lifespan\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/config-min-cache-lifespan\/"},"author":{"name":"Scott Mitchell","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/d850efb28ef3573db7d24b0d8fa9eaed"},"headline":"How to configure minimum cache lifespan in Drupal 7","datePublished":"2012-06-28T18:15:09+00:00","dateModified":"2021-08-17T03:39:41+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/config-min-cache-lifespan\/"},"wordCount":212,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/config-min-cache-lifespan\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/06\/edu_Drupal_7_Configuration__main-dashboard-configuration.png","articleSection":["Drupal"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/config-min-cache-lifespan\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/config-min-cache-lifespan\/","url":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/config-min-cache-lifespan\/","name":"How to configure minimum cache lifespan in Drupal 7 | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/config-min-cache-lifespan\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/config-min-cache-lifespan\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/06\/edu_Drupal_7_Configuration__main-dashboard-configuration.png","datePublished":"2012-06-28T18:15:09+00:00","dateModified":"2021-08-17T03:39:41+00:00","description":"This Drupal 7 article takes you through configuring the minimum cache lifespan for data.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/config-min-cache-lifespan\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/config-min-cache-lifespan\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/config-min-cache-lifespan\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/06\/edu_Drupal_7_Configuration__main-dashboard-configuration.png","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/06\/edu_Drupal_7_Configuration__main-dashboard-configuration.png","width":1018,"height":509,"caption":"_main-dashboard-configuration"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/drupal\/config-min-cache-lifespan\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to configure minimum cache lifespan in Drupal 7"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/d850efb28ef3573db7d24b0d8fa9eaed","name":"Scott Mitchell","url":"https:\/\/www.inmotionhosting.com\/support\/author\/scott\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":null,"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/1535","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=1535"}],"version-history":[{"count":3,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/1535\/revisions"}],"predecessor-version":[{"id":85859,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/1535\/revisions\/85859"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=1535"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=1535"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=1535"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}