{"id":11549236,"date":"2019-05-19T23:09:27","date_gmt":"2019-05-19T23:09:27","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/wp-cli-support-17\/"},"modified":"2019-05-19T23:09:27","modified_gmt":"2019-05-19T23:09:27","slug":"wp-cli-support-17","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/wp-cli-support-17\/","title":{"rendered":"WP-CLI Support"},"content":{"rendered":"<p>Hi, is there a way to Purge all cache via WP-CLI?<\/p>\n<p>If not, can you recommend a way to do so in shell? We clear all cache on deployment. For example, with the LiteSpeed-Cache plugin, we run a command &#8220;wp lscache-purge all&#8221;.<\/p>\n<p>Thanks.<\/p>\n","protected":false},"template":"","class_list":["post-11549236","topic","type-topic","status-publish","hentry","topic-tag-shell","topic-tag-wp-cli"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11549236","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\/11549236\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=11549236"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}