wp-rocket-cache-invalidation

Community

Automate WP Rocket cache invalidation.

AuthorLonsdale201
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Automates the safe invalidation of WP Rocket caches when data changes in a WordPress site, ensuring users see fresh content without manual purge work.

Core Features & Use Cases

  • Granular invalidation using WP Rocket APIs such as rocket_clean_post, rocket_clean_term, rocket_clean_user, and rocket_clean_files to refresh only affected pages.
  • Safe, feature-detected integration that guards against sites without WP Rocket or partial loads.
  • Best suited for plugin or theme integrations that modify content (posts, terms, user data) or bulk imports requiring deferred domain purges.

Quick Start

Call the WP Rocket cache invalidation API after a data change using the most granular function available, e.g., rocket_clean_post for a post or rocket_clean_domain for site-wide updates.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: wp-rocket-cache-invalidation
Download link: https://github.com/Lonsdale201/wp-agent-skills/archive/main.zip#wp-rocket-cache-invalidation

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.