Performance Optimisation 2.4.0 supports WordPress 6.2+ and PHP 8.2+. Install it on staging first, especially when another cache plugin, a page builder, WooCommerce, or a CDN is already active.
Requirements
| Requirement | Details |
|---|---|
| WordPress | 6.2 or newer. |
| PHP | 8.2 or newer; the plugin pauses below the floor instead of fataling. |
| Filesystem | Write access to wp-content and, when page caching is used, wp-config.php. |
| Redis | Optional. Object Cache requires a reachable Redis service and the PhpRedis extension. |
| Server | Apache, nginx, LiteSpeed, or OpenLiteSpeed. Server-rule output is environment-specific. |
Install and activate
- Install from the WordPress Plugin Directory or upload the plugin ZIP through Plugins → Add New → Upload Plugin.
- Activate Performance Optimisation.
- Open the plugin Dashboard and read the system/server notices before changing settings.
- Test a logged-out page, the block editor preview, and the main navigation after activation.
With WP-CLI, place the ZIP on the server and run:
wp plugin install performance-optimisation.zip --activateWhat activation creates
- An owned
advanced-cache.phpdrop-in when no foreign drop-in is present. The plugin recognizes its marker and will not overwrite another plugin\’s file. - A guarded
WP_CACHEconstant inwp-config.phpwhen the file is writable and the edit is unambiguous. - The canonical
wppo_settingsdefaults, including page cache enabled, native lazy loading, LCP guardrails, and WooCommerce safe mode. - The activity-log table used for cache, cleanup, and settings events.
Server rules are not enabled on a fresh install. The Redis object-cache.php drop-in is also installed on demand after a connection is tested; it is not written merely because the plugin is activated.
Recommended first-run sequence
- Baseline: record a PageSpeed run, response headers, and a logged-out page load.
- Page cache: verify the drop-in,
WP_CACHE, cache status, and a second request. - Assets: enable HTML/CSS/JavaScript minification separately, then rebuild the cache.
- JavaScript delivery: test defer and delay with exclusions for navigation, consent, payment, and builder-critical scripts.
- Images: keep native lazy loading, then test LCP preloading and WebP/AVIF conversion.
- Infrastructure: add Redis, LiteSpeed, CDN, PageSpeed, RUM, or ESI one at a time.
Server notes
Apache and LiteSpeed Enterprise can apply marked .htaccess changes at runtime. OpenLiteSpeed reads the file on server start, so restart LiteSpeed after rule changes. Nginx does not evaluate .htaccess; copy the generated rules from the dashboard into the server configuration instead.
Verify the install
wp wppo verify
wp wppo cache status
curl -sI https://example.com/ | grep -iE \'x-litespeed-cache|etag|last-modified|vary|content-encoding\'A cache hit may be identified by the plugin\’s ETag/Last-Modified validators or by LiteSpeed\’s X-LiteSpeed-Cache header, depending on the selected cache owner. Confirm the exact behavior on the server you operate.
Deactivate and uninstall
Deactivation removes plugin-owned cron events, owned drop-ins, the Redis configuration file, and the WP_CACHE guard when it created them. Uninstall additionally removes plugin options, activity data, generated cache files, converted-image copies, and post meta. Original Media Library uploads are never deleted by the uninstall routine.