__( 'CSS & JavaScript', 'xspeed' ), 'tab_label' => __( 'Minify', 'xspeed' ), // its own tab on the CSS & JavaScript page 'icon' => 'Wand2', 'description' => __( 'Strip whitespace and rewrite enqueued CSS / JS.', 'xspeed' ), // Host page: Minify (this module) / Critical CSS (Pro) / Unused // CSS (Pro) as tabs — the three CSS/JS optimizations live on one // page instead of three sidebar rows (FBS-83633). 'custom_panel' => 'CssJsPanel', ); } public function settings_schema(): array { return array( 'minify_html' => array( 'type' => 'bool', 'default' => false, 'label' => __( 'Minify HTML', 'xspeed' ), // Names the logged-out caveat up front: minification runs on the // request that WRITES a cache entry, and should_cache() refuses // logged-in requests — so "view source while logged in" shows // un-minified HTML and reads as the feature being broken. (#2) 'description' => __( 'Strip whitespace and comments from HTML output, including inline