Cache control by Cacholong

Changelog

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

5.3.0 – 2021-04-15

  • Added – Support for one or more ip addresses in WP CLI commands purge to override hosts.json
  • Added – WP CLI commands now have aliases
  • Changed – Updated and tweaked readme.txt
  • Changed – WP CLI commands purge and purge all now only work with arguments
  • Changed – Removed WP CLI purge_all command (this is now handled with purge all)
  • Changed – Updated copyright from 2015-2020 to 2015-2021
  • Changed – Removed register_deactivation_hook hook and empty method
  • Fixed – Trashing a post or page didn’t purge

5.2.0 – 2021-03-10

  • Fixed – Purge old and new slug when slug changes
  • Fixed – Trash and untrash work again
  • Added – Support for WPML (including language negotiation type domain)
  • Added – Plugin is tested with WordPress 5.7 (RC 2)

5.1.1 – 2020-12-14

  • Fixed – Editing home page did not purge home page. Issue with WordPress method url_to_postid() which does return post id for home page.

5.1.0 – 2020-11-18

  • Added – WP CLI commands: purge, purge_all, factory_reset. For details see readme.txt
  • Added – New admin bar commands: purge pagespeed, purge fastcgi
  • Added – link to settings page on plugin index page
  • Added – Plugin is tested for usage with WordPress 5.6 RC (and 5.5.1)
  • Changed – Updated copyright from 2015-2019 to 2015-2020
  • Changed – Moved logging to cacholong-cache-control.log
  • Fixed – Checkbox ‘all caches’ on settings page > Purge settings default/custom post types did not empty other checkboxes anymore. Fixed.
  • Fixed – Trashing an item in Gutenberg didn’t trigger purge.
  • Fixed – Stripping id tags now only works on frontend and if a user is not seeing an admin page or admin_bar.

5.0.1 – 2020-09-30

  • Fixed – Removing id tag for pagespeed optimizing of css, caused issues with some backend plugins. Stripping id tags now only works on frontend.

5.0.0 – 2019-11-13

  • Added – Multisite support
  • Added – WP CLI support
  • Added – Factory reset
  • Added – Message when required $_SERVER[‘CC_NGINX_FASTCGI_CACHE_PATH’] is not set
  • Added – Message when all caches are disabled in hosts.json
  • Added – Plugin is tested for usage with WordPress 5.3.

See changelog.txt for all versions.

Plugin Website
Visit website

Author
Preliot
Version:
7.0.1
Last Updated
June 29, 2026
Active Installs
500
Requires
WordPress 4.3.1
Tested Up To
WordPress 7.0
Requires PHP
8.2

Share Post

Join our newsletter.

Get insights into what’s happening at ChangelogWP right in your inbox. We don’t believe in spam.