The Pressable Cache Management Plugin

All Pressable sites include several layers of caching enabled by default including object caching, page caching (Batcache), and our CDN. Purge cache in WordPress CDN can be managed from the MyPressable Control Panel. And now with the Pressable Cache Management Plugin, they can also be managed from the WordPress admin area as well!

The Pressable Cache Management Plugin should not be confused with Batcache itself. The Pressable Cache Management Plugin is simply a tool that allows you to manage Batcache from the WordPress admin area. Batcache is the actual caching mechanism that is used to speed up your website.

To install the plugin you can download it from here.

Then go to WordPress admin > Plugin > Add New  > Upload Plugin.

Object caching and Batcache can both be managed through the Object Cache tab of the cache management plugin.


Batcache Status
This feature shows the current status of Batcache on your site. If Batcache is active, the status will be displayed as “OK”. If Batcache is inactive, the status will be displayed as “Broken”.

The object cache stores database queries in memory using Memcache. You can read more about that here →.

Flush Cache
To flush the cache, simply press the “Flush Cache” button (note: this will also flush Batcache).

From the object caching tab we can find several options to assist in the control and management of Batcache (static page caching).

Extend Batcache
By default, a cached render of a page is stored for five minutes, at which point a new cached version is created. You can extend the length of time a cached render is saved to one day by enabling this option.

Flush On Update
Automatically flush the cache when the theme or plugins are updated.

Flush On Edit
Automatically flush the cache when pages or posts are modified and saved.

Flush Cache on Page Delete
Automatically flush the cache when a page is deleted.

Flush Cache on Comment Delete
Automatically flush the cache when a comment is deleted.

Flush Batcache for Individual pages
This enables the option to flush Batcache on a page-by-page basis.

Once enabled, you will see the option to flush the cache from the Pages/Posts area in wp-admin:

And also from the wp-admin bar when viewing the page:


Exclude Page from Batcache

This enables the option to exclude Batcache on a per-page basis. For example, to exclude a page on a particular site, add slashes before and after the page name, like so: /page-name/. To exclude multiple pages, add a comma to separate each page name, like so: /page-name-one/, /page-name-two/.

Enabling any of the cache options will take effect immediately, without the need to manually flush the website cache.  All modification to Batcache are done via  mu-plugins.

In order to manage the CDN through this plugin, you will need to configure your API Authentication settings.

Client ID/Client Secret

Before you can obtain these values, you must first create a new API Application, ensuring that the appropriate permissions have been enabled. The minimum required permissions are read/write on “Sites”. A new API application can be created from this page →.

Once your API app is created, you can copy the client ID and client secret to the plugin settings. This can be reused across all sites in your account.

Site ID

The Site ID is typically filled in automatically for new sites on our platform. But older sites may not have it entered, as well as sites that were overwritten by a migration. To locate your site ID, navigate to the single-site management page in The id will be in the address bar. For example:

Several controls over the CDN are available in the CDN tab, but before you can use them you will need to create API keys and add those to the API Authentication tab. Until you do, the CDN screen will be disabled.

Once your API keys are configured, you will have the option to enable or disable the CDN.

When the CDN is enabled, further options are displayed. The CDN cache can be purged by pressing the following button:

Further options for controlling the CDN can be toggled on-and-off.

Extend the cache-control header
One option is to modify the cache-control: max-age header for assets served from the CDN. By default, this header is 7 days. By enabling this option, it is extended to 10 years.

Exempt file types from the CDN
You also have the ability to exempt certain file types from being included in the CDN. These options include image files, CSS files, and Javascript/JSON files.

Exempt individual files
Specific files can be exempted from the CDN by entering them here. For example: style.css

Separate multiple file names with a pipe. For example: style.css|jquery.js

Do you want to hide the Pressable logo/branding from the cache management plugin? We built a hidden control panel to allow you to do that! Simply click on the heart icon in the line “Built with ♥ by The Pressable CS Team.” found at the bottom of the page.

Disabling the branding will remove our logo and name from the various tabs.

The plugin needs to be activated on a per-site basis. Otherwise, network activation will ignore all but the primary site in the network.


If you have any issues with the plugin or feedback please contact our support team, we’re always happy to help.