
“Cache control by Cacholong” plugin automates purging of Nginx Pagespeed cache and Nginx FastCGI cache on your Nginx server(s). It is a backend plugin that is able to:
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:
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:
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", "pagespeed": true, "fastcgi": false}, {"name": "server2", "ip": "127.0.0.2", "pagespeed": false, "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
pagespeed (bool)
Server uses Nginx Pagespeed (true) or not (false)
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", "pagespeed": true, "fastcgi": true} ] } “Cache control by Cacholong” empties partial or full cache for Nginx Pagespeed and 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.
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.
Exit codes are 0 (no errors) or 1 (generic error).
Purge command with all arguments:
wp cacholong_cc purge [--cache=<cache>] [--ips=<ips>]
Purge Nginx FastCGI:
wp cacholong_cc purge --cache=fastcgi
Purge Nginx Pagespeed:
wp cacholong_cc purge --cache=pagespeed
Purge all caches:
wp cacholong_cc purge --cache=all wp cacholong_cc purge
Purge Nginx Pagespeed cache for ip address 127.0.0.1 and 127.0.0.2:
wp cacholong_cc purge --cache=pagespeed --ips=127.0.0.1,127.0.0.2
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]
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.
Starting from $0 per month.
Rating
Reviewers
No reviews
Tags
Developed By
Cacholong
Quick & Easy
Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!
Testimonial plugins for Wordpress
Galleries plugins for Wordpress
SEO plugins for Wordpress
Contact Form plugins for Wordpress
Forms plugins for Wordpress
Social Feeds plugins for Wordpress
Social Sharing plugins for Wordpress
Events Calendar plugins for Wordpress
Sliders plugins for Wordpress
Analytics plugins for Wordpress
Reviews plugins for Wordpress
Comments plugins for Wordpress
Portfolio plugins for Wordpress
Maps plugins for Wordpress
Security plugins for Wordpress
Translation plugins for Wordpress
Ads plugins for Wordpress
Video Player plugins for Wordpress
Music Player plugins for Wordpress
Backup plugins for Wordpress
Privacy plugins for Wordpress
Optimize plugins for Wordpress
Chat plugins for Wordpress
Countdown plugins for Wordpress
Email Marketing plugins for Wordpress
Tabs plugins for Wordpress
Membership plugins for Wordpress
popup plugins for Wordpress
SiteMap plugins for Wordpress
Payment plugins for Wordpress
Coming Soon plugins for Wordpress
Ecommerce plugins for Wordpress
Customer Support plugins for Wordpress
Inventory plugins for Wordpress
Video Player plugins for Wordpress
Testimonials plugins for Wordpress
Tabs plugins for Wordpress
Social Sharing plugins for Wordpress
Social Feeds plugins for Wordpress
Slider plugins for Wordpress
Reviews plugins for Wordpress
Portfolio plugins for Wordpress
Membership plugins for Wordpress
Forms plugins for Wordpress
Events Calendar plugins for Wordpress
Contact plugins for Wordpress
Comments plugins for Wordpress
Analytics plugins for Wordpress
Common Ninja Apps
Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.
Show verified customer feedback with Google Reviews to build trust, strengthen credibility, and help visitors make confident purchase decisions.
Add an FAQ section to your site to answer common questions, reduce support requests, and give visitors a smoother and more confident user experience.
Slide in panel that appears from the top or bottom to highlight offers, capture attention, and guide visitors toward more conversions.
Add an MP3 Player to your website and engage visitors with music, podcasts, and spoken audio without any setup complexity.
Use a support form that lets customers submit tickets, saves each request, sends notifications, and helps you manage support more efficiently.
Display locations with company branch flip cards that help customers find nearby offices, understand key details, and enjoy a smoother overall experience.
Collect and manage donations securely with a customizable online donation form that supports Stripe or PayPal and helps increase contributions.
Show LinkedIn posts in a live feed that keeps updates current, builds credibility, and helps visitors engage with your brand.

Showcase visuals with an image wall that creates a parallax style gallery, offers smooth scrolling, and presents images in customizable, engaging layouts.
Add a corner coupon pop-up to highlight discounts, collect emails, and drive user engagement without interrupting browsing.
Show trust badges that highlight security and reliability, build customer confidence, and help visitors feel safe making purchases on your site.
Use a pricing slider to show dynamic prices by quantity, help visitors compare options, and support confident purchases.
More plugins
The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!
