{"id":39584,"date":"2015-11-04T11:39:14","date_gmt":"2015-11-04T11:39:14","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/purge-cache-for-cloudflare\/"},"modified":"2016-05-06T11:16:22","modified_gmt":"2016-05-06T11:16:22","slug":"purge-cache-for-cloudflare","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/purge-cache-for-cloudflare\/","author":243187,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2","stable_tag":"1.2","tested":"4.5.33","requires":"3.7","requires_php":"","requires_plugins":"","header_name":"Purge Cache for CloudFlare","header_author":"Milan Dini\u0107","header_description":"","assets_banners_color":"","last_updated":"2016-05-06 11:16:22","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/blog.milandinic.com\/donate\/","header_plugin_uri":"http:\/\/blog.milandinic.com\/wordpress\/plugins\/purge-cache-for-cloudflare\/","header_author_uri":"http:\/\/blog.milandinic.com\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":2448,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1279419","resolution":"1","location":"assets"}},"screenshots":{"1":"Purge Cache for CloudFlare settings"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[146,3882,3853],"plugin_category":[52],"plugin_contributors":[77976],"plugin_business_model":[],"class_list":["post-39584","plugin","type-plugin","status-publish","hentry","plugin_tags-cache","plugin_tags-cloudflare","plugin_tags-page-cache","plugin_category-performance","plugin_contributors-dimadin","plugin_committers-dimadin"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/purge-cache-for-cloudflare.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/purge-cache-for-cloudflare\/assets\/screenshot-1.png?rev=1279419","caption":"Purge Cache for CloudFlare settings"}],"raw_content":"<!--section=description-->\n<p><a href=\"http:\/\/blog.milandinic.com\/wordpress\/plugins\/purge-cache-for-cloudflare\/\">Plugin homepage<\/a> | <a href=\"http:\/\/blog.milandinic.com\/\">Plugin author<\/a> | <strong><a href=\"https:\/\/shop.milandinic.com\/downloads\/purge-cache-for-cloudflare-plus\/\">Premium Version<\/a><\/strong> | <a href=\"http:\/\/blog.milandinic.com\/donate\/\">Donate<\/a><\/p>\n\n<p>Purge Cache for CloudFlare is a simple plugin that uses CloudFlare\u00ae API to purge cache of full HTML pages when a new post is made.<\/p>\n\n<p>This free version is only indended for basic usage. If you want to use it in full capacity, consider buying <a href=\"https:\/\/shop.milandinic.com\/downloads\/purge-cache-for-cloudflare-plus\/\">premium version<\/a>.<\/p>\n\n<p>It works by purging front page, post's page, and main RSS feed. This should work for most sites. However, there are of filters, actions, and methods that provide full customizability and extensibility.<\/p>\n\n<p>Note that this plugin also sets cache to 30 minutes for all frontend pages. This means that if you use default option in CloudFlare, it tells them to revalidate page cache after that time, so it means that cache for any page expires on CloudFlare servers after that time.<\/p>\n\n<p>You can change this limits by using filters from you code. If you want user interface in your admin, use <a href=\"https:\/\/shop.milandinic.com\/downloads\/purge-cache-for-cloudflare-plus\/\">premium version<\/a>.<\/p>\n\n<p>You should create new CloudFlare page rules to set proper caching. It is your responsibility to set this properly.<\/p>\n\n<p>First page rule should exclude certain paths from caching. Recommended value for this is <code>wp-<\/code>. This excludes admin pages and default <code>.php<\/code> pages. Example of URL pattern: <code>*example.com\/*wp-*<\/code> This value can also set via filter or via admin in <a href=\"https:\/\/shop.milandinic.com\/downloads\/purge-cache-for-cloudflare-plus\/\">premium version<\/a>.<\/p>\n\n<p>Second page rule should sets caching. You need to set \"Custom caching\" to \"Cache everything\". Recommended value for \"Edge cache expire TTL\" is default, \"Respect all existing headers\" which means that CloudFlare revalidates after 30 minutes, while for \"Browser cache expire TTL\" is also 30 minutes. Example of URL pattern: <code>*example.com\/*<\/code><\/p>\n\n<p>This plugin is on <a href=\"https:\/\/github.com\/dimadin\/purge-cache-for-cloudflare\">GitHub<\/a> too.<\/p>\n\n<p>Purge Cache for CloudFlare is in no way affiliated with CloudFlare. It is only using CloudFlare API to purge page cache of certain URLs.\nCloudFlare is registered trademark of CloudFlare, Inc.<\/p>\n\n<!--section=changelog-->\n<h4>1.2<\/h4>\n\n<ul>\n<li>Released on 6th May 2016<\/li>\n<li>Don't cache requests for search<\/li>\n<li>Minor cleanup<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Released on 15th December 2015<\/li>\n<li>Sync <code>WP_Temporary<\/code> with WordPress 4.4<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Released on 4th November 2015<\/li>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Simple full HTML page cache purger for CloudFlare.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/39584","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=39584"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/dimadin"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=39584"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=39584"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=39584"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=39584"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=39584"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=39584"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}