Title: Page Cache on Cloudflare
Author: palessit
Published: <strong>November 1, 2019</strong>
Last modified: February 18, 2020

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/page-cache-on-cloudflare.svg)

# Page Cache on Cloudflare

 By [palessit](https://profiles.wordpress.org/palessit/)

[Download](https://downloads.wordpress.org/plugin/page-cache-on-cloudflare.zip)

 * [Details](https://wordpress.org/plugins/page-cache-on-cloudflare/#description)
 * [Reviews](https://wordpress.org/plugins/page-cache-on-cloudflare/#reviews)
 *  [Installation](https://wordpress.org/plugins/page-cache-on-cloudflare/#installation)
 * [Development](https://wordpress.org/plugins/page-cache-on-cloudflare/#developers)

 [Support](https://wordpress.org/support/plugin/page-cache-on-cloudflare/)

## Description

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).
 For 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). In the Сloudflare account, you need
to create a worker, for details go https://github.com/palessit/cloudflare-cache-
page. The plugin can preload cache on Cloudflare.

## Installation

You can install the plugin from the WordPress Dashboard:
 – Visit “Plugins”  Add
New; – Search for “Page Cache on Cloudflare” – Download and activate the plugin –
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. – 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. – 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).

## FAQ

  A question that someone might have

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Page Cache on Cloudflare” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ palessit ](https://profiles.wordpress.org/palessit/)

[Translate “Page Cache on Cloudflare” into your language.](https://translate.wordpress.org/projects/wp-plugins/page-cache-on-cloudflare)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/page-cache-on-cloudflare/),
check out the [SVN repository](https://plugins.svn.wordpress.org/page-cache-on-cloudflare/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/page-cache-on-cloudflare/)
by [RSS](https://plugins.trac.wordpress.org/log/page-cache-on-cloudflare/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0

## Meta

 *  Version **1.2.0**
 *  Last updated **6 years ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 3.3.1 or higher **
 *  Tested up to **5.2.24**
 *  PHP version ** 5.6 or higher **
 * Tags
 * [cache](https://wordpress.org/plugins/tags/cache/)[cloudflare](https://wordpress.org/plugins/tags/cloudflare/)
   [speed](https://wordpress.org/plugins/tags/speed/)
 *  [Advanced View](https://wordpress.org/plugins/page-cache-on-cloudflare/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/page-cache-on-cloudflare/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/page-cache-on-cloudflare/reviews/)

## Contributors

 *   [ palessit ](https://profiles.wordpress.org/palessit/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/page-cache-on-cloudflare/)