Changelog

= 0.8.3-beta.rc – 2026-01-14 =
IMPROVED: In the CSS Optimization section, the optimization type is now correctly labeled as CSS Loading Method.
IMPROVED: In the Critical CSS Generation section, a new option allows choosing between Inline CSS and File-based delivery. Each method has its own advantages and disadvantages. Critical CSS accuracy ranges between 30–70%.
IMPROVED: In the Image Optimization section, the logic for Priority Hints has been refined.
IMPROVED: In the Font Optimization section, added the ability to define custom URLs for font preload. Note that this applies only to locally hosted fonts.
IMPROVED: In the Image Converter section, the logic for converting images to AVIF and WebP has been refined.
IMPROVED: In the Object Cache section, added support for connecting to Redis using ACL authentication (username + password), allowing the use of Redis with ACL (thanks for the suggestion, @Vincent Chan).
FIXED: In the Image Optimization section, the exclusion logic for lazy loading has been corrected for both desktop and mobile versions.
FIXED: Reworked Font Optimization logic for collecting critical fonts to ensure correct preloading.
FIXED: Corrected the loading order of ZiziCache scripts used for collecting CWV metrics.
FIXED: Removed unnecessary autoload entries in the wp_options table during font statistics collection (thanks for the suggestion, @Jakub Schnicel Rezníček).
ADDED: In the Remove Redundancy section, 14 new features have been added with the ability to disable them individually.
EXPERIMENTAL: Added an option to preload jquery.min.js in Optimization > JavaScript Optimization. This may be useful but it occupies an HTTP/2 connection slot.

= 0.8.2-beta.rc – 2026-01-09 =
FIXED: Adjusted autoload values used by the plugin, which previously overfilled the wp_options table. Only essential items are now autoloaded.
FIXED: Compatibility issue on some hosting environments where mod_access_compat was not enabled.
IMPROVED: Complete overhaul of the CSS optimization section, specifically delivery methods (On Interaction, DOMContentLoaded Event, and Async).
IMPROVED: Critical CSS delivery method now allows choosing between inline insertion or file-based insertion for overall reduction. This is an optimization improvement, not a precise per-page Critical CSS generator. Accuracy is approximate, but performance gains are significant.
FIXED: Exclude and preload functionality for above-the-fold images corrected for both mobile and desktop versions.
BUGFIX: Purge All now correctly removes all CSS.
BUGFIX: Migration from older plugin versions could break the Font Detector; logic has been fixed.
FIXED: Dependency chain for LCP, TTFB, and Metrics files corrected.

= 0.8.1-beta.rc – 2025-12-29 =
* IMPROVED: Better detection of Cloudflare outages for Cloudflare Failover.
* NEW: Added support for native page cache on LiteSpeed servers. Three modes are now available: Auto, LiteSpeed Cache Only, and File-based Cache Only (suitable not only for Apache servers but, of course, also for LiteSpeed servers).
* NEW: Added a page to overview URLs missing from the page cache, available under Page Cache > Pages Not Cached.
* IMPROVED: Minor adjustments in the admin UI.

= 0.8.0-beta.rc – 2025-12-16 =
* IMPROVED: Enhanced Redis Object Cache connectors.
* IMPROVED: Updated BFCache logic.
* IMPROVED: Improved UI in the Images section.
* FIXED: Fixed Page Cache generation logic, including support for mobile versions.
* FIXED: Fixed recalculation and detection of thumbnail dimensions.
* FIXED: Fixed logic for CSS Loading Methods.
* FIXED: Minor adjustments in the admin UI.
* NEW: Added the ability to view pages that are not in the Page Cache. You can now see the exact reason why pages are excluded from caching or not cached, either due to internal plugin rules and bypasses or other settings.

= 0.7.9-beta.rc – 2025-12-11 =
* IMPROVED: Enhanced UI in the Redis Object Cache section with a more reliable handler for enabling and disabling Redis Object Cache.
* IMPROVED: Updated logic for writing constants to wp-config.php.
* IMPROVED: Improved UI in the 103 Early Hints section with added explanations about how and where it works..

= 0.7.8-beta.rc – 2025-12-10 =
* FIX: Resolved a potential crash in Image Converter diagnostics by replacing wp_tempnam() with tempnam() and removing a duplicate admin_init hook. Image conversion functionality remains unchanged.
* FIX: Ensure page-cache enable/disable toggles correctly and dependent optimizations respect cache state and configuration dependencies.
* FIX: Fix Redis connection handling and Unix-socket support (on OpenLiteSpeed servers) — avoid attempting connections with an empty host (php_network_getaddresses error), correctly detect and use Unix socket paths, and prevent undefined “host”/”port” errors in the generated object-cache.php.
* FIX: Reduce verbose debug logging and stop spurious DB/JSON errors by adding Action Scheduler table-existence checks.
* FIX: Suppressing noisy BFCache/Image/Font/SysConfig debug output, replacing direct error_log() calls with CacheSys::writeError().
* FIX: Preventing BFCache status/REST checks when the feature is disabled.

= 0.7.7-beta.rc – 2025-12-08 =
* IMPROVED: Added a global option to enable CWV metric collection directly from the admin interface, in addition to WP-CLI and direct DB activation.
* IMPROVED: Added bypass URL parameters: `?nocache=1`, `?bypass_optimization=1`, and `?zizi_bypass=1` (e.g., `https://example.com/?nocache=1`).

= 0.7.6-beta.rc – 2025-12-08 =
* FIX: Fixed an issue with the toast notification when saving settings in Optimization > IFrame & Video Optimization. (Thanks to @schnicel)

= 0.7.5-beta.rc – 2025-12-08 =
* **NEW: Modular Admin Interface** – Complete redesign of admin panel architecture:
– Separated components for each settings section
– Dedicated REST API handlers for each module
– Admin templates reorganized into standalone files
– Highcharts integration for performance visualizations
– Toast notification system for user feedback
– Toggle UI components for consistent switch controls

* **NEW: BFCache (Back/Forward Cache) Management** – Complete browser cache optimization system for instant back/forward navigation:
– Session token management for logged-in users with automatic HTTP header modification
– Cookie-based authentication state tracking for cache invalidation
– Support for WordPress Script Modules API (WordPress 6.5+) with legacy fallback
– Automatic exclusion for WooCommerce admin pages to prevent JavaScript conflicts
– Diagnostics and status reporting via REST API

* **NEW: Core Web Vitals (CWV) Monitoring System** – Real-time performance tracking:
– MySQL database layer for high-performance CWV data storage with optimized schema
– LoAF (Long Animation Frame) detector with Layout Thrashing analysis and severity classification
– TTFB (Time to First Byte) monitoring with threshold alerts
– LCP element details extraction for debugging optimization opportunities
– Frontend banner for administrators showing real-time CWV status per page
– REST API endpoints for metrics collection, page summaries, and data management
– Configurable sampling rates, thresholds, and retention policies
– Automatic aggregation via WP-Cron with 5-minute intervals

* **NEW: Cloudflare CDN Integration** – Native Cloudflare cache management:
– API Token and Zone ID configuration with connection testing
– Automatic cache purge on content changes (posts, pages, taxonomies)
– Smart URL collection for targeted purge instead of full zone purge
– Edge Cache Rules management
– Conflict detection with official Cloudflare plugin and WP Rocket
– Emergency Failover (EXPERIMENTAL feature). Automatically bypass CF proxy during major outages

* **NEW: Font Auto-Optimizer** – Automatic Google Fonts CSS generation:
– WP-Cron scheduled optimization respecting page cache lifespan
– Aggregated font statistics from collected data
– Automatic WOFF2 URL extraction for preloading
– Minimum data threshold before auto-generation (10 pages)

* **NEW: Image Converter Metadata Validator** – Self-healing metadata system:
– Automatic validation when image format configuration changes
– Sanity check on post save for _wp_attached_file
– Background WP-Cron validation for non-blocking operation
– Fixes GUID, attached_file, and optimization metadata

* **NEW: Cache Statistics Monitor** – Hit/miss tracking:
– Hourly transient-based statistics for responsiveness
– Persistent stats with sampling to reduce database load
– Real-time hit rate calculation

* **NEW: Cache Settings REST API** – Dedicated endpoints for cache configuration:
– `/cache-settings` GET/POST for cache lifespan, preload, mobile cache settings
– `/cache-exclusions` GET/POST for bypass URLs, cookies, query string management
– Automatic WP_CACHE constant management in wp-config.php
– Integration with unified SysConfig system
* IMPROVED: Authority class with new `isAllowedSilent()` method for permission checks without logging
* IMPROVED: Redundancy module – Enhanced jQuery Migrate disabling with proper deregistration and JS Delay exclusion
* IMPROVED: Redundancy module – Added WooCommerce tracking scripts to disable list (sourcebuster-js, wc-order-attribution)
* IMPROVED: Redundancy module – Enhanced `hide_wp_version()` with all generator filter types including Elementor
* IMPROVED: REST API disable now allows ZiziCache LCP and Font Intelligence endpoints for anonymous users
* IMPROVED: Bootstrap sequence – Earlier initialization of Redundancy module for wp_default_scripts hook
* IMPROVED: WooCommerce admin bypass detection moved earlier in bootstrap to prevent BFCache conflicts
* IMPROVED: Plugin activation now creates CWV MySQL tables alongside ImageConverter stats table
* IMPROVED: Self-healing CWV table check on admin_init for seamless upgrades from older versions
* IMPROVED: Frontend JavaScript reorganized – new modular bfcache-handler-module.js, bfcache-login-detector.js
* IMPROVED: Quicklink integration fixed with new quicklink-integration-fixed.js replacing unstable version
* IMPROVED: Admin CSS streamlined – removed legacy files (admin.css, admin-rtl.css, fonts/) in favor of modular approach
* FIXED: Block library CSS now properly deregistered (not just dequeued) to prevent re-enqueueing
* SECURITY: Enhanced REST API permission callback with CSRF protection and nonce verification
* SECURITY: Detailed logging for denied access attempts with caller context
* COMPATIBILITY: Tested with WordPress 6.9

= 0.7.0-beta.7 – 2025-10-27 =
* IMPROVED: Complete redesign of the admin interface for a more modern and user-friendly experience.
* IMPROVED: Major update to the Page Cache module — improved file counting accuracy and internal structure.
* IMPROVED + FIXED: Fully refactored Image Converter logic — redesigned detection of available images and thumbnails, rewritten WebP and AVIF conversion system with reliable fallback to original images. Resolved compatibility issues with various plugins and themes.
* IMPROVED: Comprehensive overhaul of the Font Optimization logic for better performance and reliability.
* IMPROVED: Full rework of the Optimization section, simplifying structure and improving stability.
* FIXED: Resolved compatibility issue with SEOPress when generating XML sitemaps.

= 0.5.7-beta.5 =
* IMPROVED: Added a button in the Optimization tab for saving settings in the Early Hints and Enhanced Navigation Strategies sections.
* FIX: Fixed a bug related to handling JavaScript in delay mode.

For downgrade download v0.5.7-beta.5