Skip to content
Gaurav Tiwari edited this page Aug 29, 2026 · 4 revisions

GT Performance

A WordPress page cache and front-end optimizer built around one rule: a wrong cache hit costs more than a miss. Everything here defaults to correctness, and the transformations that can break a theme stay opt-in.

GT Performance is free and GPL-2.0-or-later. Development happens at wpgaurav/gt-performance.

Start here

If you want to Read
Get it running Installation
Understand what gets cached and what doesn't Page Cache
Know why a page isn't caching Diagnostics → then Troubleshooting
Cache pages that have a cart count or account link Private Islands
Strip unused CSS safely CSS Optimization
Push settings across several sites Fleet Console
Script it WP-CLI
Extend it Hooks Reference

What it actually does

Origin page cache. A drop-in serves cached HTML before WordPress loads. Entries carry a fresh window, a stale window, and a stale-if-error window. See Page Cache.

Front-end optimization. Unused-CSS removal with three delivery modes, JavaScript minify/defer/delay, image lazy-loading and dimension injection, self-hosted Google Fonts, lightweight YouTube embeds. See CSS Optimization, JavaScript Optimization, Media, Fonts and Embeds.

Edge and object caching. A Cloudflare Free cache rule compiled from your own bypass policy, an origin-pull CDN for static files, and an owned Redis object-cache drop-in. See Cloudflare, CDN, Redis Object Cache.

Commerce safety. FluentCart, Easy Digital Downloads and WooCommerce adapters keep cart, checkout, account and session state out of shared caches, and Safety Lab proves it non-destructively. See Commerce Safety.

Operations. Verified purge receipts, an Explain This Page report, a preload queue, scheduled database cleanup, and signed settings bundles for moving configuration between sites.

What it deliberately does not do

  • No account, no telemetry, no phone-home. See External Services.
  • No HTML minification. The saving is small and the breakage is not.
  • No "optimize everything" button. Riskier transformations are individually switchable and off by default.
  • No caching of any response that sets a cookie, is not text/html, is not HTTP 200, or carries no-store/private. See Page Cache.

Clone this wiki locally