{"id":9086,"date":"2022-07-28T13:38:23","date_gmt":"2022-07-28T13:38:23","guid":{"rendered":"https:\/\/www.s-sols.com\/?post_type=doc&#038;p=9086"},"modified":"2026-03-30T14:08:19","modified_gmt":"2026-03-30T14:08:19","slug":"settings-revalidation-accel","status":"publish","type":"doc","link":"https:\/\/www.s-sols.com\/docs\/wordpress\/accelerator\/settings-accel\/settings-revalidation-accel","title":{"rendered":"Cache revalidation settings Accelerator for WordPress"},"content":{"rendered":"<p style=\"text-align:justify\">\n  One of the most important settings<span style=\"font-size:12pt\"> <\/span>blocks <span style=\"font-size:12pt\">for <\/span>the WordPress cache system.\n<\/p>\n<p style=\"text-align:center\">\n  <img decoding=\"async\" src=\"\/data\/content\/doc\/wordpress\/accelerator\/settings-revalidation-accel\/settings-revalidation-en.png\" alt=\"settings-Revalidation\" title=\"settings-Revalidation - Cache revalidation settings\" \/>\n<\/p>\n<h2><a id=\"general\"><\/a>General<br \/>\n<\/h2>\n<ul>\n<li>\n<div style=\"text-align:justify\"><strong>Lazy revalidation<\/strong>\n    <\/div>\n<p style=\"text-align:justify\">\n      Allows updating the content in the background without being noticed by users and search engines, while maintaining the maximum speed of the pages. Very relevant to entered by Google regularly checking pages for speed in the <a href=\"https:\/\/search.google.com\/search-console\/core-web-vitals\" rel=\"nofollow noopener\" target=\"_blank\">Search Console<\/a>.\n    <\/p>\n<ul>\n<li style=\"text-align:justify\"><strong>Temporary cache not optimized content at initial revalidation<\/strong>\n      <\/li>\n<li>\n<div style=\"text-align:justify\"><strong>Temporary cache not optimized content after forced revalidation<\/strong>\n        <\/div>\n<p style=\"text-align:justify\">\n          Since when updating, users are shown the previous version of the page from the cache, this setting allows you to immediately display the current content, but for now temporarily without optimization. It is useful when you need to immediately display changes on the site, but optimization takes time. It happens when <a href=\".\/status-and-operations-accel#operate_revalidate\">manual revalidation<\/a> or <a href=\"#post_change\">revalidation after post changing<\/a> occurs.\n        <\/p>\n<\/li>\n<li>\n<div style=\"text-align:justify\"><strong>Temporary cache not optimized content after auto-revalidation<\/strong>\n        <\/div>\n<p style=\"text-align:justify\">\n          Same as previous but after <a href=\"#auto_revalidation\">auto-revalidation<\/a> occurs.\n        <\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li style=\"text-align:justify\"><strong>Fast content optimization in temporary cache<\/strong>\n  <\/li>\n<\/ul>\n<h2><a id=\"posts\"><\/a>Posts<br \/>\n<\/h2>\n<ul start=\"3\">\n<li>\n<div style=\"text-align:justify\"><a id=\"post_change\"><\/a><strong>When post is changed<\/strong>\n    <\/div>\n<p style=\"text-align:justify\">\n      The posts cache will be updated automatically when they are changed in accordance with the specified mode. You can additionally specify both other pages of the site by URI (not URL), and <a href=\".\/settings-revalidation-expressions-accel\">expressions for special pages<\/a>. It can be added multiple expressions at once by placing each on new line. E.g. <code>@termsOfClass@categories@{post_type}@{ID}:&lt;|@postsWithTerms@{post_type}@{term_id}&gt;<\/code> expression updates post\u2019s categories and all posts that have the same categories. Or e.g. <code>@author@{post_author}:&lt;|@pageNums&gt;<\/code> expression updates post\u2019s author URL with pagination.\n    <\/p>\n<\/li>\n<li>\n<div style=\"text-align:justify\"><strong>Always update post&#8217;s cache if it&#8217;s meta fields are changed<\/strong>\n    <\/div>\n<p style=\"text-align:justify\">\n      If it is not set then the post\u2019s cache will be updated only if meta fields are changed during admin post edit, REST API modification call, AJAX modification request or \u2018Wp All Import\u2019 process. Also, there are exclusions for meta fields via begin parts or <a href=\".\/regexp-accel\">regular expressions<\/a> (with <a href=\".\/regexp-accel#conditions\">conditions<\/a>) for meta field names. It can be added multiple expressions at once by placing each on new line.\n    <\/p>\n<p style=\"text-align:justify\"><strong>Note.<\/strong> Prefixes <code>sch:<\/code> and <code>schLoc:<\/code> can be used to update cache by automatic scheduling by using the time from the meta field. Example:<span style=\"font-size:12pt\"> <\/span><code>schLoc:@^_upcoming_date$@<\/code>.\n    <\/p>\n<\/li>\n<li>\n<div style=\"text-align:justify\"><strong>Delay<\/strong>\n    <\/div>\n<p style=\"text-align:justify\">\n      Time for postponing update. This option allows accumulating all posts updates within this period. It is used when some post is updated very often (e.g. one time per minute). So, to avoid too many cache updates it can be done once per this period.\n    <\/p>\n<\/li>\n<\/ul>\n<h2><a id=\"globs\"><\/a>Globals<br \/>\n<\/h2>\n<p style=\"text-align:justify\">\n  When something below is changed then <a href=\".\/status-and-operations-accel#operate\">revalidate or delete<\/a> all cache using &#8216;<a href=\"#all\">All update dependencies<\/a>&#8216; list.\n<\/p>\n<ul>\n<li>\n<div style=\"text-align:justify\"><a id=\"terms\"><\/a><strong>Taxonomies<\/strong>\n    <\/div>\n<p style=\"text-align:justify\">\n      When the specified taxonomies are changed, the entire cache will be updated in accordance with the specified mode. It can be added multiple taxonomies at once via separating by commas.\n    <\/p>\n<\/li>\n<li style=\"text-align:justify\"><strong>Menus<\/strong>\n  <\/li>\n<li style=\"text-align:justify\"><strong>Templates of Elementor<\/strong>\n  <\/li>\n<li style=\"text-align:justify\"><strong>Tables of TablePress<\/strong>\n  <\/li>\n<\/ul>\n<h2><a id=\"all\"><\/a>All update dependencies<br \/>\n<\/h2>\n<p style=\"text-align:justify\">\n  A list of what will be processed after <a href=\".\/status-and-operations-accel#operate\">all updating<\/a>. You can specify as pages by URI, as <a href=\".\/settings-revalidation-expressions-accel\">expressions for special pages<\/a>. It can be added multiple items at once by placing each on new line. By default, here is defined a main page and all pages from site\u2019s sitemap.\n<\/p>\n<p style=\"text-align:justify\"><strong>Note.<\/strong> To add updating taxonomies, pls, add <code>terms<\/code> expression, e.g. categories for WooCommerce\u2019s<span style=\"font-size:12pt\"> <\/span>products and ordinary categories<code> @terms@product_cat<\/code>, <code>@terms@category<\/code>.\n<\/p>\n<p style=\"text-align:justify\"><a id=\"_Hlk127900076\"><\/a><strong>Note.<\/strong> If site\u2019s sitemap has URL that different from <code>\/sitemap.xml<\/code> it can be corrected it in related expression.\n<\/p>\n<p style=\"text-align:justify\"><a id=\"proc\"><\/a><strong>Note.<\/strong> If site\u2019s sitemap is not active there won\u2019t be any update. You either need to create it, for example, using SEO plugins such as <a href=\"https:\/\/wordpress.org\/plugins\/seo-by-rank-math\" rel=\"nofollow noopener\" target=\"_blank\">Rank Math SEO<\/a> or <a href=\"https:\/\/wordpress.org\/plugins\/wordpress-seo\" target=\"_blank\" rel=\"nofollow noopener\">Yoast SEO<\/a>, or manually add <a href=\".\/settings-revalidation-expressions-accel\">expressions<\/a> for the desired site post types, for example, the expression <code>@posts@page<\/code> means all posts of type &#8216;page&#8217;.\n<\/p>\n<p><a id=\"_Hlk127900081\"><\/a><\/p>\n<h2>\n  Processing<br \/>\n<\/h2>\n<ul start=\"6\">\n<li>\n<div style=\"text-align:justify\"><strong>Maximum number of parallel processing<\/strong>\n    <\/div>\n<p style=\"text-align:justify\">\n      The simultaneous number of pages to be optimized will be no more than the number specified here.\n    <\/p>\n<\/li>\n<li>\n<div style=\"text-align:justify\"><strong>Time before next processing<\/strong>\n    <\/div>\n<p style=\"text-align:justify\">\n      Sets the interval before the next optimization. It is necessary to adjust the load on the hosting.\n    <\/p>\n<\/li>\n<li>\n<div style=\"text-align:justify\"><strong>Time before next processing (after skipped)<\/strong>\n    <\/div>\n<p style=\"text-align:justify\">\n      Sets the interval before the next optimization if previous one was skipped. It is necessary to adjust the load on the hosting.\n    <\/p>\n<\/li>\n<li>\n<div style=\"text-align:justify\"><strong>After working more than N1 second(s) cooling down during N2 second(s)<\/strong>\n    <\/div>\n<p style=\"text-align:justify\">\n      When optimization is working more that N1 seconds it will be paused to N2 seconds and then continue again etc. It is necessary to adjust the load on the hosting (\u201ccooling down\u201d CPU) or if response time of admin area or site itself is increased. E.g. it can be set to N1=1.0 second and N2=0.5 seconds to reduce CPU usage by 33%. Or N1=1.0 second and N2=1.0 second to reduce CPU usage by 50%.\n    <\/p>\n<p style=\"text-align:justify\"><strong>Note.<\/strong> Optimization time per page will be increased too.<a id=\"_Hlk127097449\"><\/a>\n    <\/p>\n<\/li>\n<li>\n<div style=\"text-align:justify\"><strong>Memory limit<\/strong>\n    <\/div>\n<p style=\"text-align:justify\">\n      It is alternative PHP memory limit regulation.\n    <\/p>\n<p style=\"text-align:justify\"><strong>Note.<\/strong> It can be ignored by some hostings.\n    <\/p>\n<\/li>\n<li>\n<div style=\"text-align:justify\"><strong>Time limit<\/strong>\n    <\/div>\n<p style=\"text-align:justify\">\n      It is alternative PHP time limit regulation.\n    <\/p>\n<p style=\"text-align:justify\"><strong>Note.<\/strong> It can be ignored by some hostings.\n    <\/p>\n<\/li>\n<li>\n<div style=\"text-align:justify\"><strong>Engine<\/strong>\n    <\/div>\n<p style=\"text-align:justify\">\n      There are local and remote engine. And there are several modes to work:\n    <\/p>\n<ul>\n<li>\n<div style=\"text-align:justify\"><strong>local only<\/strong>\n        <\/div>\n<p style=\"text-align:justify\">\n          Content is optimized only by the local engine.\n        <\/p>\n<\/li>\n<li>\n<div style=\"text-align:justify\"><strong>remote (if available), otherwise local<\/strong>\n        <\/div>\n<p style=\"text-align:justify\">\n          Content is tried to be optimized by remote engine. If remote engine is unavailable or processing quota has been reached, optimization is performed by the local engine. When remote engine become available it will be used again.\n        <\/p>\n<\/li>\n<li>\n<div style=\"text-align:justify\"><strong>remote only (if available)<\/strong>\n        <\/div>\n<p style=\"text-align:justify\">\n          Content is tried to be optimized by remote engine. If remote engine is unavailable or processing quota has been reached, optimization will be paused until remote engine become available again.\n        <\/p>\n<\/li>\n<\/ul>\n<p style=\"text-align:justify\">\n      Here are IP addresses <code>153.92.126.14<\/code> of remote engine servers in case of add them to while lists (e.g. in CloudFlare).\n    <\/p>\n<\/li>\n<\/ul>\n<h2><a id=\"int\"><\/a>Intervals<br \/>\n<\/h2>\n<ul start=\"13\">\n<li>\n<div style=\"text-align:justify\"><a id=\"auto_revalidation\"><\/a><strong>Auto-revalidate cache if time to live is expired<\/strong>\n    <\/div>\n<p style=\"text-align:justify\">\n      Enables cache auto-updating if page was not optimized yet or time to live is expired. Auto-updating occurs only while external access of pages. Not earlier than the expiration of this time after the last change of the content, it will be forcibly updated. Time can be set to infinite by setting everywhere 0.\n    <\/p>\n<\/li>\n<li>\n<div style=\"text-align:justify\"><strong>Time to live for cleanup<\/strong>\n    <\/div>\n<p style=\"text-align:justify\">\n      Not earlier than the expiration of this time after the last change of content, it will be completely removed by using the \u2018<a href=\".\/status-and-operations-accel#operate_cleanup\">Cleanup<\/a>\u2019 function to decrease cache storage space. If there is no need to save space, it can be simply turned off by setting everywhere 0.\n    <\/p>\n<ul>\n<li>\n<div style=\"text-align:justify\"><strong>Adjust Nonce<\/strong>\n        <\/div>\n<p style=\"text-align:justify\">\n          The time value will be also used for adjusting expiration time of WordPress&#8217;s Nonce verification to avoid related issues on cached pages. If Nonce TTL will be smaller than cache TTL then verification of forms or other data can fail. It works only when user is not logged on.\n        <\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<div style=\"text-align:justify\"><strong>Time to live of external objects for cleanup<\/strong>\n    <\/div>\n<p style=\"text-align:justify\">\n      Not earlier than the expiration of this time after the creation of object, it will be completely removed by using the \u2018<a href=\".\/status-and-operations-accel#operate_cleanup\">Cleanup<\/a>\u2019 function to decrease cache storage space.\n    <\/p>\n<\/li>\n<li>\n<div style=\"text-align:justify\"><strong>Auto-cleanup interval<\/strong>\n    <\/div>\n<p style=\"text-align:justify\">\n      How often cleanup will be executed using \u2018Time to live for cleanup\u2019. If it is set to 0, then it is disabled.\n    <\/p>\n<\/li>\n<\/ul>\n<h2><a id=\"fresh\"><\/a>Always fresh parts<br \/>\n<\/h2>\n<ul start=\"17\">\n<li>\n<div style=\"text-align:justify\"><strong>Lazy revalidation<\/strong>\n    <\/div>\n<p style=\"text-align:justify\">\n      Allows updating the content in the background.\n    <\/p>\n<\/li>\n<li>\n<div style=\"text-align:justify\"><strong>Time to live<\/strong>\n    <\/div>\n<p style=\"text-align:justify\">\n      How long to cache fresh parts in seconds. 0 means no caching.\n    <\/p>\n<p style=\"text-align:justify\"><strong>Warning.<\/strong> Using 0 increases loading to server due to on each cached request there will be another non-cached request for actual page content.\n    <\/p>\n<\/li>\n<li>\n<div style=\"text-align:justify\"><strong>Time to live for cleanup<\/strong>\n    <\/div>\n<p style=\"text-align:justify\">\n      Not earlier than the expiration of this time after the last change of content, it will be completely removed.\n    <\/p>\n<\/li>\n<\/ul>\n<h2><a id=\"sche\"><\/a>Schedule<br \/>\n<\/h2>\n<p style=\"text-align:justify\">\n  Each item of this list contains particular pages for revalidate and time when it should be run. Time is related to local time zone of the site.\n<\/p>\n<p style=\"text-align:justify\"><strong>Note.<\/strong> WordPress Cron subsystem is used. So, to prevent scheduled events missing it is better to <a href=\"\/docs\/wordpress\/external-cron-setup-wp\">setup external Cron<\/a>.\n<\/p>\n<ul start=\"20\">\n<li>\n<div style=\"text-align:justify\"><a id=\"sche_period\"><\/a><strong>Every Nth period<\/strong>\n    <\/div>\n<p style=\"text-align:justify\">\n      If enabled, the item is scheduled and the nearest launch time at the time of opening the settings page is displayed at the bottom of the element.\n    <\/p>\n<ul>\n<li>\n<div style=\"text-align:justify\"><strong>Period<\/strong>\n        <\/div>\n<p style=\"text-align:justify\">\n          A frequency period for launch.\n        <\/p>\n<ul>\n<li style=\"text-align:justify\">\n            Minute\n          <\/li>\n<li style=\"text-align:justify\">\n            Hour\n          <\/li>\n<li style=\"text-align:justify\">\n            Day\n          <\/li>\n<li style=\"text-align:justify\">\n            Week\n          <\/li>\n<li style=\"text-align:justify\">\n            Month\n          <\/li>\n<li style=\"text-align:justify\">\n            Year\n          <\/li>\n<\/ul>\n<\/li>\n<li>\n<div style=\"text-align:justify\"><strong>Multiplicator<\/strong>\n        <\/div>\n<p style=\"text-align:justify\">\n          Period can be multiplied by this value. It also works in combination with a <a href=\"#sche_shift\">shift<\/a>. E.g. it can be \u2018every 5 months\u2019 or \u2018every 2 days\u2019. Granularity is always calculated from the begin of chosen period (e.g. year\/month\/week\/day starts with 1, hour\/minute starts with 0). And, e.g. \u2018every 2 days\u2019 will be launched at 2, 4, 6, \u2026, 30 day of current month, \u2018every 5 months\u2019 will be at May and October of current year, \u2018every 2 hours\u2019 will be at 0, 2, 4, \u2026, 22 hour of current day.\n        <\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<div style=\"text-align:justify\"><a id=\"sche_shift\"><\/a><strong>Times<\/strong>\n    <\/div>\n<p style=\"text-align:justify\">\n      Each item of this list contains:\n    <\/p>\n<ul>\n<li>\n<div style=\"text-align:justify\"><strong>Shift<\/strong>\n        <\/div>\n<p style=\"text-align:justify\">\n          A shift for the period. E.g. \u2018every 5 days\u2019 with shift \u20181\u2019 will be launched at 1, 6, 11, 16, \u2026, 31 day of current month.\n        <\/p>\n<\/li>\n<li>\n<div style=\"text-align:justify\"><strong>Particular time<\/strong>\n        <\/div>\n<p style=\"text-align:justify\">\n          A particular time within chosen <a href=\"#sche_period\">period<\/a>. If \u2018Week\u2019 period is chosen then 1<sup>st<\/sup> day means Monday, 2<sup>nd<\/sup> day means Tuesday and so on.\n        <\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<div style=\"text-align:justify\"><strong>Operation<\/strong>\n    <\/div>\n<p style=\"text-align:justify\">\n      Pages\u2019 cache <a href=\".\/status-and-operations-accel#operate\">update mode<\/a>. Also, a <a href=\".\/status-and-operations-accel#queue_initiator\">priority<\/a> can be changed.\n    <\/p>\n<\/li>\n<li>\n<div style=\"text-align:justify\"><strong>Pages list<\/strong>\n    <\/div>\n<p style=\"text-align:justify\">\n      A list of what will be processed. You can specify as pages by URI, as <a href=\".\/settings-revalidation-expressions-accel\">expressions for special pages<\/a>. It can be added multiple items at once by placing each on new line. If it is empty <a href=\"#all\">all pages<\/a> will be processed.\n    <\/p>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>One of the most important settings blocks for the WordPress cache system. General Lazy revalidation Allows updating the content in the background without being noticed by users and search engines, while maintaining the maximum speed of the pages. Very relevant to entered by Google regularly checking pages for speed in the Search Console. Temporary cache&#8230;<\/p>\n","protected":false},"author":18,"featured_media":0,"parent":4812,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"rank_math_lock_modified_date":false},"categories":[816],"tags":[],"class_list":["post-9086","doc","type-doc","status-publish","hentry","category-accelerator"],"_links":{"self":[{"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/doc\/9086","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/doc"}],"about":[{"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/types\/doc"}],"author":[{"embeddable":true,"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/comments?post=9086"}],"up":[{"embeddable":true,"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/doc\/4812"}],"wp:attachment":[{"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/media?parent=9086"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/categories?post=9086"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/tags?post=9086"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}