Cache control by Cacholong
“Cache control by Cacholong” is a cache control plugin for one or more Nginx servers.
Use with caution
Cache control by Cacholong works, but test it on a staging site before relying on it in 2026. It runs on 500+ sites and was last updated 5 months ago, and scores 55/100 on our health check.
- Small user base (500+ active installs)
- Very few reviews so far
- Needs PHP 8.2 or newer
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Cache control by Cacholong stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| cache | #99 |
| cache-control | #17 |
| caching | >100 |
| cacholong | #1 |
| fastcgi | #11 |
Version adoption
Share of active sites per release.
About Cache control by Cacholong
From the official readme · v7.0.1Description
“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
Hosts.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. Default path is: wp-content/uploads/cacholong-cache-control/hosts.json.
Here is an example of a hosts.json file:
{"servers":
[
{"name": "server1", "ip": "127.0.0.1", "fastcgi": false},
{"name": "server2", "ip": "127.0.0.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)
When there is no hosts.json or the path is invalid, this plugin assumes the following:
{"servers":
[
{"name": "localhost", "ip": "127.0.0.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
Purge all caches for ip address 127.0.0.1 and 127.0.0.2:
wp cacholong_cc purge --ips=127.0.0.1,127.0.0.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
Plugin will log basic purge information when WP_DEBUG is true (can be set in wp-config.php). Logs information in file wp-content/cacholong-cache-control.log.
Plugin will log wp_remote_request details when CACHOLONG_CACHE_DEBUG_HTTP_API_REQUEST is true (can be set in wp-config.php). Logs information in file wp-content/cacholong-cache-control.log.
Installation
Minimum Requirements
- WordPress 4.3.1+
- Nginx server with fastcgi_cache enabled
Optional Requirements
- hosts.json file. File contains information about hosts and which caches are active. See hosts.json section for more details. When not available, plugin assumes localhost with all caches active.
Automatic installation
- Log in to your WordPress dashboard and navigate to the plugins menu.
- Click “Add New”.
- Search for “Cache control by Cacholong”.
- Once you find this plugin, click “Install Now”.
- Activate the plugin
- Configure the plugin at Settings > Cache control
Manual installation
- Log in to your WordPress dashboard and navigate to the plugins menu.
- Click “Add New”.
- Click “Upload Plugin”.
- Locate zip file on your computer and click “Install Now”.
- Activate the plugin
- Configure the plugin at Settings > Cache control
Updating
Although updates are thoroughly tested, make a backup of your website (files and database) before you install an update.
Changelog
Must deinstall older version when installing version 4.0.0, because of breaking changes. Make sure you make backups of your files and database before you proceed.
7.0.1 – 2026-06-26
- Fixed – Treat HTTP 412 (Precondition Failed) as a successful purge, returned when there is no matching cache item to purge
7.0.0 – 2026-06-17
- Added – Automatic cache purge on Elementor changes: global Colors/Fonts, Site Settings and Kit saves, Theme Builder template saves, and the “Regenerate Files & Data” button now trigger a purge (active only when Elementor is installed)
- Removed – Nginx PageSpeed cache support (PageSpeed has been deprecated)
- Removed – Pagespeed optimized CSS setting (style id tag stripping)
- Security – Fixed stored XSS in admin settings templates (CVE-2025-31764)
5.4.1 – 2021-07-16
- Changed – Fastcgi purge works with HTTP method GET + prefixed ‘purge’ in url
5.4.0 – 2021-06-18
- Added – Additional debug information (wp_remote_request details) when CACHOLONG_CACHE_DEBUG_HTTP_API_REQUEST is set in wp-config.php
- Changed – Now fastcgi purge works similar to pagespeed purge (without custom unlink code)
- Removed – Required server variable ‘CC_NGINX_FASTCGI_CACHE_PATH’
- Removed – Message: required $_SERVER[‘CC_NGINX_FASTCGI_CACHE_PATH’] is not set
- Changed – Code base maintenance
5.3.2 – 2021-04-15
- Changed – Fixed error in docs for WP-CLI commands
5.3.1 – 2021-04-15
- Changed – Improved readability readme.txt
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best Cache control by Cacholong alternatives
All cache plugins →FAQ
Cache control by Cacholong: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Cache control by Cacholong free?
Yes. Cache control by Cacholong is free to download and use from the official WordPress.org plugin directory.
Is Cache control by Cacholong safe to use in 2026?
Cache control by Cacholong works, but test it on a staging site before relying on it in 2026. It runs on 500+ sites and was last updated 5 months ago, and scores 55/100 on our health check.
How many websites use Cache control by Cacholong?
Cache control by Cacholong is active on 500+ WordPress websites and has been downloaded 9,133 times since it launched in March 2018. It was downloaded 456 times in the last 30 days.
Does Cache control by Cacholong work with WordPress 7.1?
Cache control by Cacholong is officially tested up to WordPress 7.0.9, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does Cache control by Cacholong need?
Cache control by Cacholong requires PHP 8.2 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Cache control by Cacholong last updated?
The latest version, 7.0.1, was released on June 29, 2026 (5 months ago).
Who makes Cache control by Cacholong?
Cache control by Cacholong is developed and maintained by Preliot.
What are the best alternatives to Cache control by Cacholong?
The most popular alternatives to Cache control by Cacholong are WP Super Cache (1M+ installs), WP Fastest Cache (1M+ installs) and WP-Optimize (1M+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card

