CSS Optimization Overview This guide reflects the CSS features actually implemented in ZiziCache. CSS optimizations run inside the main HTML optimization pipeline and are controlled by configuration flags in SysConfig::$config. CSS Minification Minification is enabled by css_minify. ZiziCache scans linked stylesheets (), reads local files, and writes minified copies to the cache directory. Uses MatthiasMullieMinifyCSS...
How to Optimize Fonts and Improve Loading Performance This guide documents the actual Font Optimization settings available in ZiziCache and explains how each option improves performance and user experience. Where to configure Open ZiziCache → Fonts. Enable Font Optimization. Configure the options listed below and save. Font Optimization Settings Enable Font Optimization — Master switch...
Image Optimization Overview This guide reflects the image optimizations implemented in Image.php and related Image Converter integration. All features are controlled by configuration flags in SysConfig::$config. Lazy Loading When img_lazyload is enabled, ZiziCache sets loading="lazy" for most images and marks a configurable number of above‑the‑fold images as eager. img_lazyload_exclude_count_desktop — number of eager images on...
JavaScript Optimization Overview This guide reflects the JavaScript optimizations implemented in JavaScript.php. Features are controlled by configuration keys in SysConfig::$config and run inside the main HTML optimization pipeline. JavaScript Minification When js_minify is enabled, ZiziCache minifies local scripts with MatthiasMullieMinifyJS and serves cached copies from wp-content/cache/zizi-cache/. Skips already minified files (.min.js) and adds a cache‑busting...
Self‑Hosting External Resources ZiziCache can download external CSS and JavaScript files and serve them locally when self_host_third_party_css_js is enabled. This is implemented in SysTool::download_external_file() and the CSS/JS optimization modules. What Gets Self‑Hosted External files (CSS). External files (JavaScript). Local resources are not modified. Only URLs that are external to home_url() are processed. Allowed Domains Downloads...
BFCache (Back/Forward Cache) BFCache keeps pages in browser memory so back/forward navigation feels instant. ZiziCache enables BFCache for logged-in users by adjusting headers and validating sessions in the browser. Supported in the UI: Chrome 96+, Firefox 120+, Safari 17+. How ZiziCache enables BFCache Runs only for logged-in users with a BFCache session token. Skips...
IFrame & Video Optimization (YouTube/Vimeo) ZiziCache can optimize embedded iframes and videos to reduce initial page weight and improve Core Web Vitals. These options focus on lazy loading and replacing heavy video iframes with lightweight placeholders that load the player only when needed. Where to configure Open ZiziCache → Optimization. Go to the IFrame &...
Remove Redundancy (Reduce WordPress Bloat) The Remove Redundancy section disables unnecessary scripts and features that can slow down the frontend or add security exposure. Each option is independent, so you can enable only what is safe for your site. Where to configure Open ZiziCache → Optimization. Go to the Remove Redundancy section. Enable the options...
Early Hints (HTTP 103) Early Hints sends Link: rel=preload HTTP headers before the main HTML response. Supported browsers can start fetching critical resources earlier, which improves perceived loading speed and Core Web Vitals. Where to configure Open ZiziCache → Optimization. Go to the Early Hints (103) section. Enable Early Hints and select the resource types...