Performance Optimisation helps you speed up your site with cache management, JavaScript and CSS minification, image conversion (WebP and AVIF), lazy loading, preload hints, and a modern admin UI. It is designed to stay
off by default for aggressive options (defer/delay JS, WooCommerce asset removal, server rules) so you can enable features gradually and test as you go—similar to how you would tune Autoptimize or a caching stack, but with a focused, dashboard-first workflow.
Why use this plugin?
- Clear scope: One place for cache stats, file optimisation, images, preload, and tools—without bundling unrelated features.
- Safety-first UX: Advanced toggles show warnings; WooCommerce-related options remind you to test cart and checkout.
- Core Web Vitals & PageSpeed: Lazy loading, minification, preconnect/prefetch, and image formats help real-world metrics—not just a higher score on a single lab test.
Features:
- Dashboard with an overview of cache, JavaScript, CSS, and image optimisation status.
- Cache management tools, including size display and a "Clear Cache" button.
- JavaScript & CSS Optimization: Minify, combine, defer/delay (opt-in), and exclude specific files.
- Image optimization: Convert images to WebP and AVIF formats.
- Preload settings for cache, fonts, DNS, and images.
- Advanced lazy loading options.
- Import/export plugin settings.
1.2.3 (2026-04-14)
Stability and performance release: Fixed a fatal error during activation/admin notices, implemented lazy loading for cache handlers to reduce overhead, and aligned documentation with official directory limits.
1.2.0 (2026-04-13)
Major feature release completing the "Cache Core" milestone: .htaccess automation, CDN URL rewriting, and smart cache purging. Includes a full Design System v2.0 with WordPress admin color scheme sync, confirmation dialogs, and polished form controls. Significant security and performance improvements throughout.
1.1.4 (2026-04-08)
Security release with path traversal fixes, image queue performance improvements, and accessibility fixes.
1.1.3 (2026-04-07)
Maintenance release to fix vendor file exclusion in build packages.
1.1.1 (2026-04-06)
Minor release with JS performance optimizations and security hardening.
1.1.0 (2026-04-05)
Stable v1.1.0 release with security hardening and user interface refinements.
1.0.0 (2024-12-18)
Initial release with core performance features.
1.2.3 (2026-04-14)
- Fix: Resolved fatal error where
Advanced_Cache_Handler was not found during activation or admin notice checks.
- Performance: Refactored
Advanced_Cache_Handler to use lazy loading ("require when needed") to reduce memory footprint.
- Fix: Shortened plugin short description to meet WordPress.org's 150-character limit.
1.2.1 (2026-04-14)
- Fix: Implemented handle whitelisting in Metabox to prevent unauthorized script/style handle persistence.
- Fix: Support parent directory locations for
wp-config.php (core-mirroring behavior).
- Fix: Properly handle transient deletion and
WP_CACHE constant guards during activation.
- Fix: Alignment and escaping in admin notices for WPCS compliance.
- Fix: Add
WP_CACHE to wp-config.php when the constant was previously undefined (correct activation logic).
- Safety:
advanced-cache.php includes a plugin marker; do not overwrite or delete another plugin’s drop-in.
- UX: Admin notices for foreign drop-in, wp-config issues, competing full-page cache plugins, and a short post-activation welcome notice.
- UI: Stronger warning when enabling WooCommerce asset removal.
- Docs: Expanded readme description, FAQ, and screenshot placeholders.
- Meta: Plugin header
Requires at least now matches readme.txt (6.2).
1.2.0 (2026-04-13)
- New: Automatic Gzip compression and browser caching for faster page loads.
- New: CDN support — serve static assets from your own CDN domain.
- New: Smarter cache clearing — related pages update automatically when you edit content.
- New: Safety prompts before deleting data, removing images, or importing settings.
- New: Helpful warnings when enabling advanced options like Defer JS or Server Rules.
- New: Plugin UI matches your chosen WordPress admin color scheme.
- Improvement: Faster loading — removed external font dependency.
- Improvement: Better form inputs, loading indicators, and keyboard navigation.
- Improvement: Faster database operations for image processing.
- Security: Fixed several file path security issues.
- Compatibility: Tested up to WordPress 6.9.
1.1.4 (2026-04-08)
- Security: Fixed path traversal vulnerability in the Image Optimisation REST endpoint.
- Security: Added directory traversal protection in URL-to-path resolution.
- Performance: Optimized image queue database writes by caching in memory and flushing once on shutdown.
- Fix: Updated CheckboxOption component to use unique IDs for proper accessibility (label/input association, aria-describedby).
1.1.3 (2026-04-07)
- Fix: Anchored build paths in .distignore to prevent accidental exclusion of vendor files.
1.1.2 (2026-04-07)
- Fix: Cache the Img_Converter instance to reduce PHP overhead during image conversion.
- Fix: Validate and sanitize imported REST API settings before saving.
- Fix: Improve sidebar accessibility and keyboard navigation in the admin UI.
- Update: Use
@wordpress/element for React rendering compatibility in WordPress.
1.1.1 (2026-04-06)
- Improvement: Optimized JS Defer and Delay loading by caching exclusion lists.
- Improvement: Enhanced backend performance by reducing redundant string parsing.
- Security: Implemented protection against potential directory traversal vulnerabilities.
- Fix: Standardized REST API key sanitization to prevent settings synchronization issues.
- Localization: Added translated ARIA labels for sidebar accessibility.
1.1.0 (2026-04-05)
- Improvement: Visually enhanced the 'File Optimization' settings for easier configuration.
- Improvement: Hardened overall plugin security and input validation.
- Fix: Automatically clear cache when changing permalink settings or switching themes.
- Fix: Prevented unnecessary CSS files from generating on 404 error pages.
- Update: Improved image lazy loading reliability for smoother page rendering.
1.0.0 (2024-12-18)
Initial release with full functionality:
Dashboard overview.
Cache management.
JavaScript, CSS, and HTML optimization.
Advanced image optimisation and lazy loading.
Preloading settings for cache, fonts, and images.
Import/export settings tools.