{"id":109187,"date":"2019-11-01T06:56:07","date_gmt":"2019-11-01T06:56:07","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/page-cache-on-cloudflare\/"},"modified":"2020-02-18T11:35:13","modified_gmt":"2020-02-18T11:35:13","slug":"page-cache-on-cloudflare","status":"publish","type":"plugin","link":"https:\/\/cn.wordpress.org\/plugins\/page-cache-on-cloudflare\/","author":17546226,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.2.0","stable_tag":"trunk","tested":"5.2.24","requires":"3.3.1","requires_php":"5.6","requires_plugins":"","header_name":"Page Cache on Cloudflare","header_author":"DzmitryAd, alkononovich","header_description":"The fastest cache HTML pages on the Cloudflare with purge by button and automatic. You can specify URLs and cookies to exclude caching.","assets_banners_color":"","last_updated":"2020-02-18 11:35:13","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/palessit\/cloudflare-cache-page\/tree\/master\/page-cache-on-cloudflare-wp-plugin","header_author_uri":"https:\/\/palessit.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1477,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"":"<p>Upgrade normally<\/p>"},"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"No screenshots"}},"plugin_section":[],"plugin_tags":[146,3882,794],"plugin_category":[52],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-109187","plugin","type-plugin","status-publish","hentry","plugin_tags-cache","plugin_tags-cloudflare","plugin_tags-speed","plugin_category-performance","plugin_committers-palessit"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/page-cache-on-cloudflare.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>The plugin is an improved version of the \"Cloudflare Page Cache\" plugin. The plugin does not cache pages for logged-in users by default. You can disable caching for some URLs and for users with certain cookies (use the constants BYPASS_COOKIES_EXTRA and NON_CACHEABLE_URLS_EXTRA for the settings).\nFor the plugin to work, you need to have a Cloudflare account with special settings. To purge the cache by the button, you need to set Cloudflare API settings in the plugin (CF_EMAIL - From https:\/\/dash.cloudflare.com\/profile, CF_API_KEY - Global API Key from https:\/\/dash.cloudflare.com\/profile, CF_ACCOUNT_ID, CF_NAMESPACE_ID).\nIn the \u0421loudflare account, you need to create a worker, for details go https:\/\/github.com\/palessit\/cloudflare-cache-page. The plugin can preload cache on Cloudflare.<\/p>\n\n<!--section=installation-->\n<p>You can install the plugin from the WordPress Dashboard:\n- Visit \u201cPlugins\u201d \u2192 Add New;\n- Search for \"Page Cache on Cloudflare\"\n- Download and activate the plugin\n- Set Cloudflare API settings CF_EMAIL, CF_API_KEY, CF_ACCOUNT_ID, CF_NAMESPACE_ID. Use environment variables or edit the file inc\/cf-page-cache.php.\n- Set the constans BYPASS_COOKIES_EXTRA (eg \"wp-|wordpress\") and NON_CACHEABLE_URLS_EXTRA (eg \"\/dist\/|\/go\/|\/tours\") if you need. Use environment variables or edit the file inc\/cf-page-cache.php.\n- To manage preload cache use environment variables or edit the file inc\/cfpc-class-preload-cache.php. If you need disable preload cache then set variable CF_IS_PRELOAD_CACHE as false and deactivate-activate plugin. To define how many page per minute will be cached use variable CF_PRELOAD_CACHE_PAGE_PER_MINUTE (by default 50 pages per minute).<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>A question that someone might have<\/dt>\n<dd><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>","raw_excerpt":"The fastest cache pages on Cloudflare with purge by button and automatic. You can specify URLs and cookies to exclude caching.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/109187","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=109187"}],"author":[{"embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/palessit"}],"wp:attachment":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=109187"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=109187"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=109187"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=109187"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=109187"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=109187"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}