{"id":7556200,"date":"2016-07-08T16:43:44","date_gmt":"2016-07-08T16:43:44","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/changing-post-from-pushished-to-draft-doesnt-clear-cache\/"},"modified":"2016-09-01T16:25:10","modified_gmt":"2016-09-01T16:25:10","slug":"changing-post-from-pushished-to-draft-doesnt-clear-cache","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/changing-post-from-pushished-to-draft-doesnt-clear-cache\/","title":{"rendered":"Changing post from Pushished to Draft doesn&#039;t clear cache"},"content":{"rendered":"<p>When I change my WordPress post statuses from Published to Draft, the site still serves up a the cached version of the published post. <\/p>\n<p>I have to &#8216;delete cache&#8217; on the settings page for the post to be removed from the site.<\/p>\n<p>I&#8217;ve tried checking the box &#8216;Clear all cache files when a post or page is published or updated.&#8217;, but to no avail.<\/p>\n<p>In the log file I see this:<br \/>\n16:32:43 5296 \/wp-admin\/post.php wp_cache_post_change: draft post, not deleting any cache files.<\/p>\n<p>How can I get the cache to clear for a specific post (or the whole site) when I change a post status?<\/p>\n<p>https:\/\/wordpress.org\/plugins\/wp-super-cache\/<\/p>\n","protected":false},"template":"","class_list":["post-7556200","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/7556200","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/7556200\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=7556200"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}