{"id":153927,"date":"2022-03-01T18:33:01","date_gmt":"2022-03-01T18:33:01","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/vl-cloudflare-cache-purge\/"},"modified":"2025-10-16T17:12:33","modified_gmt":"2025-10-16T17:12:33","slug":"vl-cloudflare-cache-purge","status":"publish","type":"plugin","link":"https:\/\/scn.wordpress.org\/plugins\/vl-cloudflare-cache-purge\/","author":20280313,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.3","stable_tag":"1.0.3","tested":"6.8.5","requires":"5.0","requires_php":"7.0","requires_plugins":null,"header_name":"VL Cloudflare Cache Purge","header_author":"Nitin Kumar Raghav <mails@nitinraghav.com>","header_description":"This plugin will purge the KV and Cloudflare purge when any post get updated.","assets_banners_color":"a0915b","last_updated":"2025-10-16 17:12:33","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/nitinraghav.com\/","header_plugin_uri":"","header_author_uri":"https:\/\/nitinraghav.com\/","rating":5,"author_block_rating":0,"active_installs":10,"downloads":1697,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"nitinraghav","date":"2022-03-02 17:24:14"},"1.0.1":{"tag":"1.0.1","author":"nitinraghav","date":"2022-03-02 17:31:16"},"1.0.2":{"tag":"1.0.2","author":"nitinraghav","date":"2022-06-03 11:24:18"},"1.0.3":{"tag":"1.0.3","author":"nitinraghav","date":"2025-10-16 17:12:33"}},"upgrade_notice":{"1.0.2":"<p>Now wp_remote_request will not give error because of timeout issue.<\/p>","1.0.1":"<p>This will fix the fatal error caused while making purge API<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":2686824,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":2686824,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.0.1","1.0.2","1.0.3"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[146,3882,179416,208138,23273],"plugin_category":[52],"plugin_contributors":[208139],"plugin_business_model":[],"class_list":["post-153927","plugin","type-plugin","status-publish","hentry","plugin_tags-cache","plugin_tags-cloudflare","plugin_tags-cloudflare-workers","plugin_tags-static-kv","plugin_tags-workers","plugin_category-performance","plugin_contributors-nitinraghav","plugin_committers-nitinraghav"],"banners":{"banner":"https:\/\/ps.w.org\/vl-cloudflare-cache-purge\/assets\/banner-772x250.png?rev=2686824","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/vl-cloudflare-cache-purge\/assets\/icon-256x256.png?rev=2686824","icon_2x":"https:\/\/ps.w.org\/vl-cloudflare-cache-purge\/assets\/icon-256x256.png?rev=2686824","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin adds a updated_post hook in the post update process and with the help of it, it deletes the cache of the page in cloudflare cache and KV storage(static cache)<\/p>\n\n<!--section=installation-->\n<p>To setup this plugin add following constants in the wp-config.php file before activating it.<\/p>\n\n<pre><code>define('CF_ZONE_ID', '');\ndefine('CF_AUTH_TOKEN', '');\ndefine('CF_KV_AUTH', ''); # http auth username and password if the site is password protected. If not just add \\'test:test\\'\n<\/code><\/pre>\n\n<!--section=faq-->\n<dl>\n<dt id='who%20can%20you%20this%3F'><h3>Who Can You This?<\/h3><\/dt>\n<dd><p>The one who is using CloudFlare for storing Static Key Value pairs of the site and the site cache, can use this plugin<\/p><\/dd>\n<dt id='what%20i%20need%20to%20use%20this%20plugin%3F'><h3>What I need to use this plugin?<\/h3><\/dt>\n<dd><p>You will need three things to run this plugin\n* Zone ID - that can be seen on overview page of the site\n* Auth Token - That can be created from the profile section that can manage workers\n* Auth: username and password that can access the API for CLoudFlare.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Again used wp_Remote_request instead of curl call to fix the timeout error.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Fixed the fatal error because of the timeout occur while making API Call for purging the CLoudflare Workers Static KV.<\/li>\n<li>Added more error_log statements<\/li>\n<\/ul>","raw_excerpt":"This plugin will purge the Cloudflare Workers KV and Cloudflare purge when any post get updated.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/153927","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=153927"}],"author":[{"embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/nitinraghav"}],"wp:attachment":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=153927"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=153927"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=153927"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=153927"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=153927"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=153927"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}