{"id":30361,"date":"2025-01-12T23:16:39","date_gmt":"2025-01-12T23:16:39","guid":{"rendered":"https:\/\/www.s-sols.com\/?post_type=doc&#038;p=30361"},"modified":"2025-01-12T23:16:39","modified_gmt":"2025-01-12T23:16:39","slug":"settings-requests-accel","status":"publish","type":"doc","link":"https:\/\/www.s-sols.com\/docs\/wordpress\/accelerator\/settings-accel\/settings-requests-accel","title":{"rendered":"Requests cache Accelerator for WordPress"},"content":{"rendered":"<p style=\"text-align:justify\">\n  Request caching allows to speedup it when it is used e.g. as AJAX for forming content.<a id=\"_Hlk73096746\"><\/a> Each request can be cached separately depend on parameters and path. It is an ordered list that defines what queries should be cached and with what type of returned data.\n<\/p>\n<p><strong>Warning.<\/strong> It should be ensured, that added requests patterns are <a href=\".\/settings-exclusions-accel\">not excluded<\/a>.\n<\/p>\n<h2 style=\"text-align:justify\">\n  General<br \/>\n<\/h2>\n<ul>\n<li>\n<div style=\"text-align:justify\"><a id=\"enable\"><\/a><strong>Enable<\/strong>\n    <\/div>\n<p style=\"text-align:justify\">\n      Enables this item.\n    <\/p>\n<\/li>\n<li>\n<div style=\"text-align:justify\"><a id=\"pattern\"><\/a><strong>Pattern<\/strong>\n    <\/div>\n<p style=\"text-align:justify\">\n      Expression for request URI. Regular expressions or simple string to find in request URI can be used. E.g. pattern <code>a\/b\/c<\/code> will be matched with request URI that contains this string. Or, e.g. pattern <code>@\\Warg1=@<\/code> will be matched with request URI that contains <code>arg1<\/code> argument. Or, e.g. pattern <code>@\\Wa=@ &amp; !@\\Wb=@<\/code> will be matched with request URI that contains <code>a<\/code> argument and doesn\u2019t contain <code>b<\/code> argument.\n    <\/p>\n<\/li>\n<li>\n<div style=\"text-align:justify\"><strong>Type<\/strong>\n    <\/div>\n<p style=\"text-align:justify\">\n      MIME type fore returned data.\n    <\/p>\n<\/li>\n<\/ul>\n<h2 style=\"text-align:justify\"><a id=\"revalidation\"><\/a>Revalidation<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.\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.\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","protected":false},"excerpt":{"rendered":"<p>Request caching allows to speedup it when it is used e.g. as AJAX for forming content. Each request can be cached separately depend on parameters and path. It is an ordered list that defines what queries should be cached and with what type of returned data. Warning. It should be ensured, that added requests patterns&#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-30361","doc","type-doc","status-publish","hentry","category-accelerator"],"_links":{"self":[{"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/doc\/30361","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=30361"}],"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=30361"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/categories?post=30361"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/tags?post=30361"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}