Skip to content

Cookbook › WP Rocket · Integration

Clear WP Rocket’s cache

WP Rocket1 minuteChangesTested 28 Oct 2026
Paste into ChatGPT or ClaudeClear WP Rocket’s page cache and confirm the result. Keep the cache settings unchanged.

Changes content or settings on your site. See the recipe below for approval requirements. Read only cannot make changes.

  1. Your assistant discovers the installed WP-CLI-compatible cache-clear command.
  2. It invokes WP Rocket’s page-cache purge API once.
  3. It checks the operation result and the saved cache policy.
  • Tested with licensed WP Rocket 3.12.4 and AI Puffer 2.5.18 in ChatGPT and Claude.
  • Requires manage_options. Standard requires WordPress approval; Trusted runs the supported command directly.
  • The result confirms that WP Rocket’s purge API was invoked. File counts, CDN clearing and cache delivery are not independently reported.
  • WP Rocket’s existing preload configuration may rebuild cleared pages. This recipe does not change it.
  • If a result is uncertain, your assistant checks the original operation before requesting another purge.

Need a variation of this recipe, or a different one? Request a recipe