WordPress plugin intelligence profile

Oh My Cache!

Clears your NGINX or Redis page cache and then Cloudflare and retries anything that fails instead of losing it.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.1
Current version1.0.0
WordPress coverageTested up to WordPress 7.1
Minimum stackWP 6.2 · PHP 8.1
Directory statusactive
Last directory update6 Sept 20261mo ago
Active installationsNewAdoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Oh My Cache! version 1.0.0 as active, updated 1mo ago and tested up to WordPress 7.1.

Overview

About this plugin

Clears the page cache on your own server first, then the copy Cloudflare holds at the edge. One

plugin, one list of URLs, so the two cannot disagree about what was cleared.

  • NGINX FastCGI and proxy cache, by deleting the cache files or through ngx_cache_purge
  • Redis page cache, using SCAN instead of a blocking KEYS sweep
  • Cloudflare, one batch per API call, so a failed batch retries on its own
  • A queue screen showing what was cleared, what failed, and who asked for it
  • Sitemaps too, read from the index your site publishes rather than guessed from its name
  • WooCommerce stock, prices and variations, which never fire a post save
  • A switch per post type, for the ones whose changes should not clear anything
  • A list of extra paths, such as /llms.txt, cleared alongside every purge
  • A setup wizard that checks your token, finds your zone and adds two cache rules
  • A public API for other plugins, and WP-CLI commands for deploys

External services

The plugin talks to one outside service, the Cloudflare API. It clears the copy of your pages

Cloudflare holds at the edge, and, if you run the wizard’s optional steps, reads and writes the

caching configuration of your own zone. Nothing else leaves your server: no update checker, no

licence check, no analytics.

Cloudflare API (https://api.cloudflare.com/client/v4/)

Only contacted once you have configured a Cloudflare API token. Without one the plugin refuses

the request before anything leaves your server.

What it sends, and when:

  • Your Cloudflare API token, as an authorization header on every request below.
  • The URLs to clear, in batches, whenever content changes on your site (a post saved, published

or deleted, a comment or term edited, the theme switched), when you press a purge button on

the dashboard or admin bar, when a WP-CLI purge runs, and when the queue retries a batch that

failed earlier.

  • Your site’s hostname, once, while the wizard works out which zone belongs to it.
  • Your zone identifier, on every request about that zone.
  • The cache rules, if you ask the wizard to create them. They contain your WordPress and

WooCommerce cookie name prefixes and, for a store, the cart, checkout and account paths taken

from your WooCommerce settings.

  • The zone settings being changed, if you ask the wizard to apply the recommended ones.

It never sends visitor data, personal data or post content.

Cloudflare IP address ranges (https://api.cloudflare.com/client/v4/ips)

Once a week WP-Cron fetches Cloudflare’s published list of its own IP ranges. The plugin checks

that list to confirm a request really arrived through Cloudflare before it trusts the visitor

address in the CF-Connecting-IP header. The fetch carries no authentication and nothing about

your site beyond the user agent WordPress puts on any HTTP request. Until it first succeeds, the

plugin falls back to a copy of the list shipped with it.

This one runs whenever the plugin is active, including on sites that never configured Cloudflare.

Cloudflare’s terms

Cloudflare, Inc. provides the service. Their terms and privacy policy:

  • Terms of use: https://www.cloudflare.com/website-terms/
  • Privacy policy: https://www.cloudflare.com/privacypolicy/

Requests to your own site

The plugin’s other network requests never leave your own infrastructure and involve no third

party: clearing NGINX through ngx_cache_purge, reading your sitemap index, warming pages with the

preloader, and reaching the Redis server whose address you configure yourself.

What the plugin stores

One custom table, {prefix}oh_my_cache_jobs, holds the queue of jobs waiting to run or retry.

Settings live in the options table. WP-Cron runs the queue and cleans it up; the jobs that refresh

the sitemap list and the Cloudflare IP ranges are scheduled only while the features that need them

are on, and removed when you switch them off. Turning on “delete data on uninstall” removes all of

it when you delete the plugin. Leave it off and nothing is removed, so deactivating to debug a

conflict does not cost you your configuration.

Credits

0-or-later, because it derives from two GPL projects and one of them is GPLv3.

com/rtCamp/nginx-helper. Source of the

approach to clearing a local page cache: the nginx cache file path derivation, the ngx_cache_purge

alternative, the Redis key shape, and which WordPress events invalidate which URLs.

org/plugins/app-for-cf/. Source of

the approach to Cloudflare: the API client, resolving a zone from the hostname, the URLs a post

change invalidates, the guest-HTML cache rule and its s-maxage header, the static-content

extension list, and the recommended zone settings.

Both were reimplemented rather than copied. No code from App for Cloudflare Pro was used; it is

proprietary, and has no cache clearing logic in any case. Nothing third party is bundled.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • cache
  • cdn
  • cloudflare
  • nginx
  • redis
Compatibility & maintenance

Compatibility & maintenance

Tested with WP 7.1

Marked as tested with the current WordPress 7.1 release.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.1
Minimum requirementsWordPress 6.2 · PHP 8.1
Update activity6 Sept 20261mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.