-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
| WordPress | 6.6 or newer |
| PHP | 8.1 or newer |
| Extensions |
dom, json
|
| Writable |
wp-content/cache/, and wp-content/ for drop-ins |
| Optional |
redis extension for the object cache |
Works on shared hosting. Nothing requires root, a worker, or a paid tier of anything.
- Upload and activate GT Performance.
- Open GT Performance in the admin menu.
- Click Install page-cache drop-in.
- Enable only the modules you have tested against your theme.
Step 3 does two things: copies advanced-cache.php into wp-content/, and adds define( 'WP_CACHE', true ); to wp-config.php. Until it runs, origin caching is configured but inactive.
If wp-config.php is not writable, add the line yourself just after the opening <?php:
define( 'WP_CACHE', true );curl -sSI https://example.com/ | grep -i x-gt-cache # MISS
curl -sSI https://example.com/ | grep -i x-gt-cache # HITTest logged out — wordpress_logged_in_ is a bypass cookie, so a signed-in request will never hit.
wp gt-performance doctorshould report the drop-in owned and WP_CACHE enabled.
Each step is independently reversible. Do them one at a time and check the site in between.
- Page cache only. Live with it for a day.
- Media — lazy loading and dimensions. Low risk, real Core Web Vitals gain.
- Fonts — self-host Google Fonts. Removes third-party requests.
-
CSS optimization at
rollout_percent10, then raise it. - JavaScript minify, then defer, then — only if you need it — delay.
- Cloudflare or a CDN, once the origin behaves.
- Redis object cache, if you have Redis.
Skipping to step 5 on a live store is how people conclude caching plugins are dangerous.
Deactivating removes both drop-ins and the WP_CACHE line.
Deleting keeps your settings and data unless Remove all data on uninstall is enabled under Tools. With it on, uninstall removes every option, the plugin's tables, and the whole wp-content/cache/gt-performance/ directory — including the Redis configuration file, which holds credentials.
GT Performance · GPL-2.0-or-later · Issues and pull requests welcome
Getting started
Caching
Optimization
Delivery
Operations
Reference