wp-rocket-cache-rejection-and-filters

Community

Control WP Rocket caching via filters.

AuthorLonsdale201
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Empowers developers to customize WP Rocket caching behavior from third-party code, enabling precise control over which requests are cached and how assets are served.

Core Features & Use Cases

  • Exclude URIs from caching using rocket_cache_reject_uri with path patterns.
  • Gate caching via cookies and user agents to support per-visitor experiences.
  • Manage CDN rewrites and asset handling with rocket_cdn_cnames and related filters.
  • Tune lazy-loading, ATF, and asset URL rewriting to accommodate complex sites.
  • Use feature-detection and prioritized filters to safely extend WP Rocket without breaking sites.

Quick Start

Create a small companion plugin that registers a few rocket_* filters after WP Rocket loads to customize caching for your site.

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-rejection-and-filters
Download link: https://github.com/Lonsdale201/wp-agent-skills/archive/main.zip#wp-rocket-cache-rejection-and-filters

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.