{"id":29924,"date":"2022-06-13T19:03:32","date_gmt":"2022-06-13T19:03:32","guid":{"rendered":"https:\/\/www.wpstaq.com\/knowledgebase\/disable-cache\/"},"modified":"2024-07-03T05:12:53","modified_gmt":"2024-07-03T05:12:53","slug":"disable-cache","status":"publish","type":"knowledgebase","link":"https:\/\/www.wpstaq.com\/nz\/knowledgebase\/disable-cache\/","title":{"rendered":"Disable Staq Cache"},"content":{"rendered":"<p>There are multiple ways of disabling cache inside the Staq Hosting plugin found inside WordPress (for Staq hosted sites).<\/p>\n<p>Below are the multiple ways of controlling the cache.<\/p>\n<h2>Globally disable cache<\/h2>\n<p>If you wish to use a third-party caching plugin instead, you can simply disable Staq cache by going to\u00a0<strong>Staq Hosting<\/strong> and then clicking the toggle to disable:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3940 size-large\" src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2021\/12\/enable-cache-1024x410.png\" alt=\"\" width=\"1024\" height=\"410\" \/><\/p>\n<h2>Disable cache for an individual page<\/h2>\n<p>You can specifically disable the cache on a page-by-page basis.<\/p>\n<p>Simply, go to the page in question and on the right-hand side, click <strong>Disable cache for this page<\/strong>:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-27148 size-large\" src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/06\/disable-cache-page-1024x312.png\" alt=\"\" width=\"1024\" height=\"312\" \/><\/p>\n<p>Alternatively, if you wish to manage a list of disabled cached pages in one central spot, then you can maintain the list via <strong>Staq Hosting<\/strong> page:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-27149 size-large\" src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2022\/06\/centralize-cache-1024x788.png\" alt=\"\" width=\"1024\" height=\"788\" \/><\/p>\n<h2>Disable cache via wildcard<\/h2>\n<p>Based on regular expressions, you can disable the cache using a wildcard approach;\u00a0<em>see screenshot above<\/em>.<\/p>\n<p>For example, you may wish to disable the cache on all pages that is under the sub-path link of \/lp\/.<\/p>\n<p>Placing<strong>\/lp\/(.*)<\/strong> in the list will disable the cache for all pages such as:<\/p>\n<ul>\n<li>example.com\/lp\/page<\/li>\n<li>example.com\/lp\/test<\/li>\n<li>example.com\/lp\/blog<\/li>\n<li>example.com\/lp\/hello<\/li>\n<\/ul>\n<p>without disabling those pages individually.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"featured_media":29609,"parent":0,"template":"","class_list":["post-29924","knowledgebase","type-knowledgebase","status-publish","has-post-thumbnail","hentry","categories-caching"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Disable Staq Cache - Managed Hosting Platform for WordPress<\/title>\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.wpstaq.com\/knowledgebase\/disable-cache\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Disable Staq Cache - Managed Hosting Platform for WordPress\" \/>\n<meta property=\"og:description\" content=\"There are multiple ways of disabling cache inside the Staq Hosting plugin found inside WordPress (for Staq hosted sites). Below are the multiple ways of controlling the cache. Globally disable cache If you wish to use a third-party caching plugin instead, you can simply disable Staq cache by going to\u00a0Staq Hosting and then clicking the&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wpstaq.com\/knowledgebase\/disable-cache\/\" \/>\n<meta property=\"og:site_name\" content=\"Managed Hosting Platform for WordPress\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/staqhosting\/\" \/>\n<meta property=\"article:modified_time\" content=\"2024-07-03T05:12:53+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/05\/why-staq-cache-is-the-most-optimal-caching-solution-to-use.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"500\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/disable-cache\\\/\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/disable-cache\\\/\",\"name\":\"Disable Staq Cache - Managed Hosting Platform for WordPress\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/disable-cache\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/disable-cache\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/why-staq-cache-is-the-most-optimal-caching-solution-to-use.png\",\"datePublished\":\"2022-06-13T19:03:32+00:00\",\"dateModified\":\"2024-07-03T05:12:53+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/disable-cache\\\/#breadcrumb\"},\"inLanguage\":\"en-nz\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/disable-cache\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-nz\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/disable-cache\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/why-staq-cache-is-the-most-optimal-caching-solution-to-use.png\",\"contentUrl\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/why-staq-cache-is-the-most-optimal-caching-solution-to-use.png\",\"width\":1000,\"height\":500},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/disable-cache\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.wpstaq.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Disable Staq Cache\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#website\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/\",\"name\":\"Managed Hosting Platform for WordPress\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.wpstaq.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-nz\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#organization\",\"name\":\"Staq\",\"alternateName\":\"WPStaq\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-nz\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/cropped-LogoNoText.png\",\"contentUrl\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/cropped-LogoNoText.png\",\"width\":512,\"height\":512,\"caption\":\"Staq\"},\"image\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/staqhosting\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/wpstaq\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Disable Staq Cache - Managed Hosting Platform for WordPress","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.wpstaq.com\/knowledgebase\/disable-cache\/","og_locale":"en_US","og_type":"article","og_title":"Disable Staq Cache - Managed Hosting Platform for WordPress","og_description":"There are multiple ways of disabling cache inside the Staq Hosting plugin found inside WordPress (for Staq hosted sites). Below are the multiple ways of controlling the cache. Globally disable cache If you wish to use a third-party caching plugin instead, you can simply disable Staq cache by going to\u00a0Staq Hosting and then clicking the&hellip;","og_url":"https:\/\/www.wpstaq.com\/knowledgebase\/disable-cache\/","og_site_name":"Managed Hosting Platform for WordPress","article_publisher":"https:\/\/www.facebook.com\/staqhosting\/","article_modified_time":"2024-07-03T05:12:53+00:00","og_image":[{"width":1000,"height":500,"url":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/05\/why-staq-cache-is-the-most-optimal-caching-solution-to-use.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wpstaq.com\/knowledgebase\/disable-cache\/","url":"https:\/\/www.wpstaq.com\/knowledgebase\/disable-cache\/","name":"Disable Staq Cache - Managed Hosting Platform for WordPress","isPartOf":{"@id":"https:\/\/www.wpstaq.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.wpstaq.com\/knowledgebase\/disable-cache\/#primaryimage"},"image":{"@id":"https:\/\/www.wpstaq.com\/knowledgebase\/disable-cache\/#primaryimage"},"thumbnailUrl":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/05\/why-staq-cache-is-the-most-optimal-caching-solution-to-use.png","datePublished":"2022-06-13T19:03:32+00:00","dateModified":"2024-07-03T05:12:53+00:00","breadcrumb":{"@id":"https:\/\/www.wpstaq.com\/knowledgebase\/disable-cache\/#breadcrumb"},"inLanguage":"en-nz","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wpstaq.com\/knowledgebase\/disable-cache\/"]}]},{"@type":"ImageObject","inLanguage":"en-nz","@id":"https:\/\/www.wpstaq.com\/knowledgebase\/disable-cache\/#primaryimage","url":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/05\/why-staq-cache-is-the-most-optimal-caching-solution-to-use.png","contentUrl":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/05\/why-staq-cache-is-the-most-optimal-caching-solution-to-use.png","width":1000,"height":500},{"@type":"BreadcrumbList","@id":"https:\/\/www.wpstaq.com\/knowledgebase\/disable-cache\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.wpstaq.com\/"},{"@type":"ListItem","position":2,"name":"Disable Staq Cache"}]},{"@type":"WebSite","@id":"https:\/\/www.wpstaq.com\/#website","url":"https:\/\/www.wpstaq.com\/","name":"Managed Hosting Platform for WordPress","description":"","publisher":{"@id":"https:\/\/www.wpstaq.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wpstaq.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-nz"},{"@type":"Organization","@id":"https:\/\/www.wpstaq.com\/#organization","name":"Staq","alternateName":"WPStaq","url":"https:\/\/www.wpstaq.com\/","logo":{"@type":"ImageObject","inLanguage":"en-nz","@id":"https:\/\/www.wpstaq.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/05\/cropped-LogoNoText.png","contentUrl":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/05\/cropped-LogoNoText.png","width":512,"height":512,"caption":"Staq"},"image":{"@id":"https:\/\/www.wpstaq.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/staqhosting\/","https:\/\/www.linkedin.com\/company\/wpstaq"]}]}},"_links":{"self":[{"href":"https:\/\/www.wpstaq.com\/nz\/wp-json\/wp\/v2\/knowledgebase\/29924","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wpstaq.com\/nz\/wp-json\/wp\/v2\/knowledgebase"}],"about":[{"href":"https:\/\/www.wpstaq.com\/nz\/wp-json\/wp\/v2\/types\/knowledgebase"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wpstaq.com\/nz\/wp-json\/wp\/v2\/media\/29609"}],"wp:attachment":[{"href":"https:\/\/www.wpstaq.com\/nz\/wp-json\/wp\/v2\/media?parent=29924"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}