WordPress plugin intelligence profile

Cache control by Cacholong

“Cache control by Cacholong” is a cache control plugin for one or more Nginx servers.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.0
Current version7.0.1
WordPress coverageTested up to WordPress 7.0
Minimum stackWP 4.3.1 · PHP 8.2
Directory statusactive
Last directory update29 Jun 20264mo ago
Active installations500Adoption 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 Cache control by Cacholong version 7.0.1 as active, updated 4mo ago and tested up to WordPress 7.0.

Overview

About this plugin

“Cache control by Cacholong” plugin automates purging of Nginx FastCGI cache on your Nginx server(s). It is a backend plugin that is able to:

  • Purge Nginx FastCGI cache.
  • Purge cache automatically, manually, with WordPress cronjobs and WP-CLI.
  • Purge caches on one or more servers (See hosts.json section for more details).
  • Use commandline (WP-CLI) to purge caches or reset to factory settings.
  • Allow purging of other cached items (see Settings > Cache control).
  • Inform user of purge status.
  • Support for single site and network sites
  • Support for WP-CLI
  • Support for WPML (including language negotiation type domain)

When will it purge?

This plugin will work with default and custom post types. It will purge on a save, regular update, quick edit update, slug change, delete and undelete. The user is informed with one or more messages.

There are a few caveats:

  • When a user is using the Gutenberg editor, purge messages will not be displayed.
  • When the user uses “Quick edit” and “Updates” the post, no messages will be displayed, because there’s no page refresh. Those messages will be shown on the next request.

It is possible to purge with WordPress cronjobs. Adjust the ‘Cronjob settings’ to perform a daily purge of caches.

You can also purge items manually. Go to the WordPress dashboard and navigate to:

  • Settings > Cache control > purge single item
  • Settings > Cache control > purge all caches
  • Admin Toolbar > purge all caches

Settings

  • File with hosts (JSON): File with information about one or more hosts for this WordPress installation. See hosts.json section for more details.
  • Purge settings default post types: Select one or more options when purging a default post type. Possible to purge post url (default), home page, all connected WordPress categories or all caches.
  • Purge settings default custom type(s): Select one or more options when purging a custom post type. Possible to purge post url (default), home page, all connected WordPress categories or all caches.

Cronjob Settings

  • Cronjob purging: Enable or disable cronjob purging.
  • Cronjob time of each day: Enter HH:MM in 24 hour notation for cronjob time of day. Will fallback to 00:00 when wrong format is given.
  • Purge caches Select caches to purge on given cronjob time.

hosts.json

json is a JSON file with information about one or more servers for this WordPress installation. Remember that this file must contain information about all servers, including the

one with this plugin. json.

json file:

2", "fastcgi": true}, ] }

Each line contains information about one server. Parameters:

-

name (string)

Name of host, something to identify this server.

-

ip (string)

IP address of server or full url. Format: scheme://host:port/path

-

fastcgi (bool)

Server user Nginx FastCGI (true) or not (false)

json or the path is invalid, this plugin assumes the following:

1", "fastcgi": true} ] }

How does it work

“Cache control by Cacholong” empties partial or full cache for Nginx FastCGI cache. WordPress HTTP API is used to make (post) request to

specific urls to trigger purges. Based on the http header responses this plugin determines if a purge is successful or not. The user is informed with messages, which are loaded after a purge and page refresh.

There are several settings to tweak purging, see Settings > Cache control.

WP-CLI

There are several commands available for the commandline with wp-cli. Commands generate text output which can be suppressed with –quiet. When an error occurs, text will always be displayed.

WP-CLI exit codes

Exit codes are 0 (no errors) or 1 (generic error).

WP-CLI examples

Purge command with all arguments:

wp cacholong_cc purge [--cache=<cache>] [--ips=<ips>]

Purge Nginx FastCGI:

wp cacholong_cc purge --cache=fastcgi

Purge all caches:

wp cacholong_cc purge --cache=all wp cacholong_cc purge

2:

2

Factory reset options for given site_id or current blog if no site_id is given:

wp cacholong_cc factory_reset [--site_id=site_id]

Debug

php). log.

php). log.

WordPress.org metadata

Plugin tags

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

  • cache control
  • caching
  • cacholong
  • fastcgi
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 7.0

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 7.0.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.0
Minimum requirementsWordPress 4.3.1 · PHP 8.2
Update activity29 Jun 20264mo 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.