Cookbook › WP Rocket · Integration
Clear WP Rocket’s cache
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.
What happens
Section titled “What happens”- Your assistant discovers the installed WP-CLI-compatible cache-clear command.
- It invokes WP Rocket’s page-cache purge API once.
- It checks the operation result and the saved cache policy.
Good to know
Section titled “Good to know”- 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