Plugin Directory

Changeset 3802030


Ignore:
Timestamp:
11/14/2026 01:58:28 PM (4 days ago)
Author:
imzura
Message:

Release 1.6.1

Location:
imzura-site-check
Files:
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • imzura-site-check/tags/1.6.1/assets/probe.js

    r3801444 r3802030  
    220220                        const at = performance.now();
    221221
     222                        if ( 'loading' === document.readyState ) {
     223                                return;
     224                        }
     225
    222226                        while ( added.length && added[ 0 ][ 0 ] < at - 3000 ) {
    223227                                added.shift();
    … …  
    583587                }
    584588
     589                if ( 3 === node.nodeType ) {
     590                        const words = String( node.textContent || '' ).replace( /\s+/g, ' ' ).trim();
     591
     592                        return words ? 'text "' + ( words.length > 40 ? words.slice( 0, 40 ) + '…' : words ) + '"' : describe( node.parentElement );
     593                }
     594
    585595                let text = node.nodeName.toLowerCase();
    586596
    … …  
    592602
    593603                return text.slice( 0, 80 );
     604        }
     605
     606        function named( node ) {
     607                const what = describe( node );
     608
     609                if ( ! what || /[#.]/.test( what ) ) {
     610                        return what;
     611                }
     612
     613                const words = String( node.textContent || '' ).replace( /\s+/g, ' ' ).trim();
     614
     615                if ( words ) {
     616                        return what + ' "' + ( words.length > 40 ? words.slice( 0, 40 ) + '…' : words ) + '"';
     617                }
     618
     619                const picture = node.querySelector ? node.querySelector( 'img[src]' ) : null;
     620
     621                return picture ? what + ' (' + plain( picture.currentSrc || picture.src ).split( '/' ).pop().slice( 0, 50 ) + ')' : what;
    594622        }
    595623
    … …  
    877905                        shift: Math.round( painted.shift * 1000 ) / 1000,
    878906                        shifters: painted.shifters.sort( ( a, b ) => b[ 0 ] - a[ 0 ] ).map( ( item ) => describe( item[ 1 ] ) ).filter( ( what, i, all ) => what && all.indexOf( what ) === i ).slice( 0, 3 ),
    879                         pushers: painted.pushers.sort( ( a, b ) => b[ 0 ] - a[ 0 ] ).map( ( item ) => describe( item[ 1 ] ) ).filter( ( what, i, all ) => what && all.indexOf( what ) === i ).slice( 0, 2 ),
     907                        pushers: painted.pushers.sort( ( a, b ) => b[ 0 ] - a[ 0 ] ).map( ( item ) => named( item[ 1 ] ) ).filter( ( what, i, all ) => what && all.indexOf( what ) === i ).slice( 0, 2 ),
    880908                        lazyTop: lazyTop,
    881909                        sizeless: sizeless,
  • imzura-site-check/tags/1.6.1/imzura-site-check.php

    r3801444 r3802030  
    11<?php
    22/**
    3  * Plugin Name:       imzura Site Check – Speed & Site Optimization
     3 * Plugin Name:       imzura Site Check – Page Speed & Core Web Vitals Optimization
    44 * Plugin URI:        https://imzura.com/products/site-check
    55 * Description:       Finds what slows your site down, on the front end, in the admin and in WooCommerce, and proves every fix with a measurement.
    6  * Version:           1.6.0
     6 * Version:           1.6.1
    77 * Requires at least: 6.2
    88 * Requires PHP:      7.4
    … …  
    1818defined( 'ABSPATH' ) || exit;
    1919
    20 define( 'SPEED_DOCTOR_VERSION', '1.6.0' );
     20define( 'SPEED_DOCTOR_VERSION', '1.6.1' );
    2121define( 'SPEED_DOCTOR_FILE', __FILE__ );
    2222define( 'SPEED_DOCTOR_DIR', plugin_dir_path( __FILE__ ) );
  • imzura-site-check/tags/1.6.1/includes/checks/class-delivery.php

    r3797325 r3802030  
    8383                }
    8484
     85                $status = isset( $this->seen[ $kind ]['status'] ) ? (int) $this->seen[ $kind ]['status'] : 0;
     86
     87                if ( $status < 200 || $status > 299 ) {
     88                        return array();
     89                }
     90
    8591                $headers = array();
    8692
  • imzura-site-check/tags/1.6.1/includes/class-options.php

    r3801444 r3802030  
    6060        const SHARED = array( 'fs_', 'action_scheduler', 'speed_doctor_', '_transient_', '_site_transient_' );
    6161
    62         const CORE = array( 'rewrite_rules', 'cron', 'active_plugins', 'sidebars_widgets', 'recently_activated', 'uninstall_plugins', 'recovery_keys', 'wp_force_deactivated_plugins', 'auto_update_plugins', 'auto_update_themes', 'site_icon', 'theme_switched', 'can_compress_scripts', 'db_upgraded', 'user_count', 'finished_updating_comment_type' );
     62        const CORE = array( 'rewrite_rules', 'cron', 'active_plugins', 'sidebars_widgets', 'recently_activated', 'uninstall_plugins', 'recovery_keys', 'wp_force_deactivated_plugins', 'site_icon', 'theme_switched', 'can_compress_scripts', 'db_upgraded', 'user_count', 'finished_updating_comment_type' );
    6363
    6464        private static $plugins = null;
    … …  
    8888                $lower = strtolower( $name );
    8989
    90                 if ( in_array( $lower, self::CORE, true ) || 0 === strpos( $lower, 'widget_' ) || $GLOBALS['wpdb']->prefix . 'user_roles' === $name ) {
     90                if ( in_array( $lower, self::CORE, true ) || 0 === strpos( $lower, 'widget_' ) || 0 === strpos( $lower, 'auto_update_' ) || $GLOBALS['wpdb']->prefix . 'user_roles' === $name ) {
    9191                        return array(
    9292                                'kind'  => 'core',
  • imzura-site-check/tags/1.6.1/readme.txt

    r3801444 r3802030  
    1 === imzura Site Check – Speed & Site Optimization ===
     1=== imzura Site Check – Page Speed & Core Web Vitals Optimization ===
    22Contributors: imzura
    3 Tags: performance, speed, woocommerce, optimization, core web vitals
     3Tags: performance, pagespeed, core web vitals, speed, woocommerce
    44Requires at least: 6.2
    55Tested up to: 7.1
    66Requires PHP: 7.4
    7 Stable tag: 1.6.0
     7Stable tag: 1.6.1
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    2727The check opens your pages in a hidden frame of its own screen, at phone width and as a first-time visitor, so it sees what a visitor's browser sees, not only what the server sends.
    2828
    29 * Front-end pages: time the server takes, the weight of each page and whose files make it up, plugins that load on pages that do not use them, heavy pictures and videos
    30 * A table of what each plugin and the theme cost your pages: how long its code keeps the server busy and how many database queries it makes, its scripts and stylesheets and their weight, on how many pages
    31 * Plugins that keep the server busy: a plugin (or the theme) whose code takes 100 ms or more of a page (or 50 ms that are a quarter of the page's time), or makes 100 or more database queries there, is named, with the numbers for each page
    32 * The same for the admin: the check also opens the dashboard and the posts list (and, with WooCommerce, the products and orders lists) as you, and names the plugins whose code, dashboard widgets included, keeps those screens waiting
    33 * Plugins that load their files on pages where nothing of them is shown: the browser checks every rule of each plugin's stylesheets against the page, and a plugin none of whose rules apply there is named, with the weight it adds
    34 * The largest stylesheets (50 KB or more) and scripts (100 KB or more), with the plugin or theme that adds each one
    35 * Errors on your pages, each put down to the plugin or theme it comes from: PHP errors raised while the page is built (fatal ones included), script errors in the browser, and files the page asks for that do not load
    36 * Pictures: the largest picture on the first screen waiting for lazy loading or not marked as urgent, other lazy pictures on the first screen, pictures without a width and height, how far the page jumps while it loads (layout shift), with what moved it, animations on the first screen that never stop, how much more phones with 3× screens download than 2× screens (from each picture's srcset and the files on your server), and how many copies of each upload WordPress keeps and the disk space they take, with the theme or plugin behind each picture size
    37 * Fonts: fonts loaded from Google's servers, how many font files a page loads, text that waits for its font, Font Awesome loaded more than once, the same font loaded twice (from two Google Fonts stylesheets, or the same font file from two places) with the theme or plugin behind each, font preloads that cannot be used, and a font loaded for less than 3% of the text next to the font the rest of the page uses
    38 * Scripts: files from other websites, the same library loaded twice, and which plugin's scripts keep the browser busy while the page loads (in Chrome, Edge and other Chromium-based browsers)
    39 * Speed settings of well-known plugins that are off: Elementor (Inline Font Icons, CSS Print Method, optimized image loading, lazy background images, local Google Fonts and their font-display), Formidable Forms styles on every page, Wordfence logging every visit, and the local Google Fonts setting of Astra, Kadence, OceanWP and Spectra (or GeneratePress font-display) when their fonts come from Google. This plugin only reads these settings and names them as each plugin's screen does
    40 * Housekeeping: the PHP error log (whether strangers can download it, its size, the plugins that fill it), backup and archive files left in wp-content, the largest database tables, plugins that are installed but switched off, and two SEO plugins active at once
    41 * Slow taps (Interaction to Next Paint): after the page has loaded, the check taps menus, buttons and tabs (never a link or a form, and with the network held back) and names the plugin or theme whose code made the visitor wait, and scripts that keep the browser busy after the page has loaded
    42 * Pages built from too many elements (more than 1,400), how many of them are hidden at phone width, and the largest parts of each page
     29* Front-end pages: the time the server takes, the weight of each page and whose files make it up, heavy pictures and videos, and plugins whose files load on pages where nothing of them is shown (every rule of their stylesheets is checked against the page)
     30* What each plugin and the theme cost your pages: server time, database queries, scripts and stylesheets and their weight, on how many pages. A plugin that takes 100 ms or more of a page (or a quarter of its time), or makes 100 or more queries there, is named with the numbers
     31* The admin too: the dashboard and the posts list (with WooCommerce, the products and orders lists), and the plugins and dashboard widgets that keep them waiting
     32* The largest stylesheets (50 KB or more) and scripts (100 KB or more), with the plugin or theme behind each
     33* Errors put down to the plugin or theme they come from: PHP errors while the page is built (fatal ones included), script errors in the browser, and files that do not load
     34* Pictures: the main picture of the first screen waiting for lazy loading or not marked as urgent, other lazy pictures on the first screen, pictures without a width and height, layout shift with what moved and what was added late, animations that never stop, how much more 3× phone screens download than 2×, and how many copies of each upload WordPress keeps, with the theme or plugin behind each size
     35* Fonts: fonts from Google's servers, how many font files a page loads, text waiting for its font, Font Awesome or the same font loaded more than once (with who loads each copy), font preloads that cannot be used, and a font used for less than 3% of the text
     36* Scripts: files from other websites, the same library loaded twice, scripts that keep the browser busy while the page loads, and slow taps (Interaction to Next Paint): the check taps menus, buttons and tabs (never a link or a form, with the network held back) and names the plugin or theme whose code made the visitor wait
     37* Pages built from more than 1,400 elements, how many of them are hidden at phone width, and the largest parts
    4338* Pages that no server or CDN cache can keep: the plugin or theme that gives every first-time visitor a cookie or a PHP session, or sends a no-store, no-cache or private header (the cart and the checkout are left out)
    44 * Settings WordPress loads on every request (autoloaded options): the largest of them with the plugin or theme each belongs to, active, switched off or removed, and a button that stops loading the ones left behind by plugins and themes that are not active (they stay in the database, and it can be undone)
    45 * Scheduled jobs that have fallen behind, including the Action Scheduler queue
    46 * WooCommerce: order storage, sessions that pile up, the cart script running outside the shop
    47 * The environment: PHP version, object cache, the page cache in use, and a cache plugin that is active with its page caching switched off (WP Super Cache, W3 Total Cache, WP Fastest Cache, WP-Optimize, Breeze, Hummingbird), named with the setting
    48 * How the server delivers pages and files: compressed (gzip, Brotli) or not, and whether browsers may keep stylesheets and scripts
    49 * The hosting: PHP running without OPcache, or with OPcache full, and slow pages whose time passes mostly outside the code of every plugin and the theme, which points at the server rather than at a plugin
    50 * Links: same-site links on the checked pages that lead to a missing page, and links that go through one or more redirects, each with the page it is on (up to 30 links per check, asked from your own server the way a visitor's browser would)
     39* Settings loaded on every request (autoloaded options): the largest, with the plugin or theme each belongs to (active, switched off or removed), and a button that stops loading the ones left behind by plugins and themes that are not active (they stay in the database, and it can be undone)
     40* Speed settings of well-known plugins that are off: Elementor (Inline Font Icons, CSS Print Method, optimized image loading, lazy background images, local Google Fonts and their font-display), Formidable Forms styles on every page, Wordfence logging every visit, and local Google Fonts in Astra, Kadence, OceanWP and Spectra (or GeneratePress font-display). This plugin only reads these settings
     41* Housekeeping: the PHP error log (whether strangers can download it, its size, who fills it), backup files left in wp-content, the largest database tables, plugins installed but switched off, two SEO plugins at once, scheduled jobs that have fallen behind (Action Scheduler included), and with WooCommerce the order storage, sessions that pile up and the cart script running outside the shop
     42* Server and hosting: PHP version, object cache, the page cache in use (and a cache plugin active with page caching off: WP Super Cache, W3 Total Cache, WP Fastest Cache, WP-Optimize, Breeze, Hummingbird), compression and browser caching of files, PHP without OPcache or with OPcache full, and slow pages whose time passes outside every plugin and the theme, which points at the server
     43* Links on the checked pages that lead to a missing page or go through redirects, each with the page it is on (up to 30 links per check)
    5144
    5245= The fixes =
    … …  
    7164= Works with other optimizers =
    7265
    73 Two plugins minifying the same files is a common cause of broken pages. If Autoptimize, LiteSpeed Cache, WP Fastest Cache, W3 Total Cache, Speed Optimizer, WP-Optimize, Breeze, Jetpack Boost, Asset CleanUp or Fast Velocity Minify already minifies your stylesheets or scripts, this plugin does not try its own fix: it names the plugin and the exact setting, and links to that plugin's settings. This plugin only reads their settings and never changes them. For WP Rocket, Perfmatters, FlyingPress, NitroPack and Hummingbird, whose settings it cannot read, it reminds you to keep only one of the two.
    74 
    75 The same goes for loading scripts with defer: while Autoptimize, LiteSpeed Cache, WP Fastest Cache, Speed Optimizer, WP-Optimize or Jetpack Boost already defers your scripts, this plugin's defer fix cannot be tried.
    76 
    77 When a fix has nothing to do on your site, for example because your theme does not load that file in the first place, this plugin says "Nothing to gain" and leaves it off.
     66When Autoptimize, LiteSpeed Cache, WP Fastest Cache, WP-Optimize or another optimizer already minifies or defers your files, this plugin does not do it a second time: it names the plugin and the exact setting (more in the FAQ). When a fix has nothing to do on your site, it says "Nothing to gain" and stays off.
    7867
    7968= Safety =
    … …  
    8877* Removing the plugin removes its settings, the picture copies and the minified copies it made.
    8978
    90 = What we tested it with =
    91 
    92 Themes: Astra, Kadence, GeneratePress, OceanWP, Twenty Twenty-Five, Hello Elementor with Elementor, Storefront.
    93 
    94 Page caches, switching a fix on and off with the cache running: Cache Enabler, WP Super Cache, WP-Optimize, W3 Total Cache, Breeze, WP Fastest Cache.
    95 
    96 This plugin also asks WP Rocket, LiteSpeed Cache, Speed Optimizer, Hummingbird and Autoptimize to clear their cache, but we have not yet tested those ourselves. Other caches can listen to the `speed_doctor_clear_cache` action.
    97 
    9879= Privacy =
    9980
    … …  
    11192
    11293== Frequently Asked Questions ==
     94
     95= Does it work next to WP Rocket, LiteSpeed Cache, Autoptimize and other optimizers? =
     96
     97Two plugins minifying the same files is a common cause of broken pages. If Autoptimize, LiteSpeed Cache, WP Fastest Cache, W3 Total Cache, Speed Optimizer, WP-Optimize, Breeze, Jetpack Boost, Asset CleanUp or Fast Velocity Minify already minifies your stylesheets or scripts, this plugin does not try its own fix: it names the plugin and the exact setting, and links to that plugin's settings. This plugin only reads their settings and never changes them. For WP Rocket, Perfmatters, FlyingPress, NitroPack and Hummingbird, whose settings it cannot read, it reminds you to keep only one of the two.
     98
     99The same goes for loading scripts with defer: while Autoptimize, LiteSpeed Cache, WP Fastest Cache, Speed Optimizer, WP-Optimize or Jetpack Boost already defers your scripts, this plugin's defer fix cannot be tried.
     100
     101When a fix has nothing to do on your site, for example because your theme does not load that file in the first place, this plugin says "Nothing to gain" and leaves it off.
     102
     103= Which themes and page caches is it tested with? =
     104
     105Themes: Astra, Kadence, GeneratePress, OceanWP, Twenty Twenty-Five, Hello Elementor with Elementor, Storefront.
     106
     107Page caches, switching a fix on and off with the cache running: Cache Enabler, WP Super Cache, WP-Optimize, W3 Total Cache, Breeze, WP Fastest Cache.
     108
     109This plugin also asks WP Rocket, LiteSpeed Cache, Speed Optimizer, Hummingbird and Autoptimize to clear their cache, but we have not yet tested those ourselves. Other caches can listen to the `speed_doctor_clear_cache` action.
    113110
    114111= Will it raise my PageSpeed Insights score? =
    … …  
    191188
    192189== Changelog ==
     190
     191= 1.6.1 =
     192* A layout shift now names a late element that has no id or class by its text (or its picture), and moved text by its words. Elements that are in the page from the start are no longer named as added late.
     193* The check no longer says the server sends files without compression, or that browsers are not told to keep them, when it could not read the answer as a visitor: a site behind a password (a staging copy), a maintenance page or a security challenge.
    193194
    194195= 1.6.0 =
  • imzura-site-check/trunk/assets/probe.js

    r3801444 r3802030  
    220220                        const at = performance.now();
    221221
     222                        if ( 'loading' === document.readyState ) {
     223                                return;
     224                        }
     225
    222226                        while ( added.length && added[ 0 ][ 0 ] < at - 3000 ) {
    223227                                added.shift();
    … …  
    583587                }
    584588
     589                if ( 3 === node.nodeType ) {
     590                        const words = String( node.textContent || '' ).replace( /\s+/g, ' ' ).trim();
     591
     592                        return words ? 'text "' + ( words.length > 40 ? words.slice( 0, 40 ) + '…' : words ) + '"' : describe( node.parentElement );
     593                }
     594
    585595                let text = node.nodeName.toLowerCase();
    586596
    … …  
    592602
    593603                return text.slice( 0, 80 );
     604        }
     605
     606        function named( node ) {
     607                const what = describe( node );
     608
     609                if ( ! what || /[#.]/.test( what ) ) {
     610                        return what;
     611                }
     612
     613                const words = String( node.textContent || '' ).replace( /\s+/g, ' ' ).trim();
     614
     615                if ( words ) {
     616                        return what + ' "' + ( words.length > 40 ? words.slice( 0, 40 ) + '…' : words ) + '"';
     617                }
     618
     619                const picture = node.querySelector ? node.querySelector( 'img[src]' ) : null;
     620
     621                return picture ? what + ' (' + plain( picture.currentSrc || picture.src ).split( '/' ).pop().slice( 0, 50 ) + ')' : what;
    594622        }
    595623
    … …  
    877905                        shift: Math.round( painted.shift * 1000 ) / 1000,
    878906                        shifters: painted.shifters.sort( ( a, b ) => b[ 0 ] - a[ 0 ] ).map( ( item ) => describe( item[ 1 ] ) ).filter( ( what, i, all ) => what && all.indexOf( what ) === i ).slice( 0, 3 ),
    879                         pushers: painted.pushers.sort( ( a, b ) => b[ 0 ] - a[ 0 ] ).map( ( item ) => describe( item[ 1 ] ) ).filter( ( what, i, all ) => what && all.indexOf( what ) === i ).slice( 0, 2 ),
     907                        pushers: painted.pushers.sort( ( a, b ) => b[ 0 ] - a[ 0 ] ).map( ( item ) => named( item[ 1 ] ) ).filter( ( what, i, all ) => what && all.indexOf( what ) === i ).slice( 0, 2 ),
    880908                        lazyTop: lazyTop,
    881909                        sizeless: sizeless,
  • imzura-site-check/trunk/imzura-site-check.php

    r3801444 r3802030  
    11<?php
    22/**
    3  * Plugin Name:       imzura Site Check – Speed & Site Optimization
     3 * Plugin Name:       imzura Site Check – Page Speed & Core Web Vitals Optimization
    44 * Plugin URI:        https://imzura.com/products/site-check
    55 * Description:       Finds what slows your site down, on the front end, in the admin and in WooCommerce, and proves every fix with a measurement.
    6  * Version:           1.6.0
     6 * Version:           1.6.1
    77 * Requires at least: 6.2
    88 * Requires PHP:      7.4
    … …  
    1818defined( 'ABSPATH' ) || exit;
    1919
    20 define( 'SPEED_DOCTOR_VERSION', '1.6.0' );
     20define( 'SPEED_DOCTOR_VERSION', '1.6.1' );
    2121define( 'SPEED_DOCTOR_FILE', __FILE__ );
    2222define( 'SPEED_DOCTOR_DIR', plugin_dir_path( __FILE__ ) );
  • imzura-site-check/trunk/includes/checks/class-delivery.php

    r3797325 r3802030  
    8383                }
    8484
     85                $status = isset( $this->seen[ $kind ]['status'] ) ? (int) $this->seen[ $kind ]['status'] : 0;
     86
     87                if ( $status < 200 || $status > 299 ) {
     88                        return array();
     89                }
     90
    8591                $headers = array();
    8692
  • imzura-site-check/trunk/includes/class-options.php

    r3801444 r3802030  
    6060        const SHARED = array( 'fs_', 'action_scheduler', 'speed_doctor_', '_transient_', '_site_transient_' );
    6161
    62         const CORE = array( 'rewrite_rules', 'cron', 'active_plugins', 'sidebars_widgets', 'recently_activated', 'uninstall_plugins', 'recovery_keys', 'wp_force_deactivated_plugins', 'auto_update_plugins', 'auto_update_themes', 'site_icon', 'theme_switched', 'can_compress_scripts', 'db_upgraded', 'user_count', 'finished_updating_comment_type' );
     62        const CORE = array( 'rewrite_rules', 'cron', 'active_plugins', 'sidebars_widgets', 'recently_activated', 'uninstall_plugins', 'recovery_keys', 'wp_force_deactivated_plugins', 'site_icon', 'theme_switched', 'can_compress_scripts', 'db_upgraded', 'user_count', 'finished_updating_comment_type' );
    6363
    6464        private static $plugins = null;
    … …  
    8888                $lower = strtolower( $name );
    8989
    90                 if ( in_array( $lower, self::CORE, true ) || 0 === strpos( $lower, 'widget_' ) || $GLOBALS['wpdb']->prefix . 'user_roles' === $name ) {
     90                if ( in_array( $lower, self::CORE, true ) || 0 === strpos( $lower, 'widget_' ) || 0 === strpos( $lower, 'auto_update_' ) || $GLOBALS['wpdb']->prefix . 'user_roles' === $name ) {
    9191                        return array(
    9292                                'kind'  => 'core',
  • imzura-site-check/trunk/readme.txt

    r3801444 r3802030  
    1 === imzura Site Check – Speed & Site Optimization ===
     1=== imzura Site Check – Page Speed & Core Web Vitals Optimization ===
    22Contributors: imzura
    3 Tags: performance, speed, woocommerce, optimization, core web vitals
     3Tags: performance, pagespeed, core web vitals, speed, woocommerce
    44Requires at least: 6.2
    55Tested up to: 7.1
    66Requires PHP: 7.4
    7 Stable tag: 1.6.0
     7Stable tag: 1.6.1
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    2727The check opens your pages in a hidden frame of its own screen, at phone width and as a first-time visitor, so it sees what a visitor's browser sees, not only what the server sends.
    2828
    29 * Front-end pages: time the server takes, the weight of each page and whose files make it up, plugins that load on pages that do not use them, heavy pictures and videos
    30 * A table of what each plugin and the theme cost your pages: how long its code keeps the server busy and how many database queries it makes, its scripts and stylesheets and their weight, on how many pages
    31 * Plugins that keep the server busy: a plugin (or the theme) whose code takes 100 ms or more of a page (or 50 ms that are a quarter of the page's time), or makes 100 or more database queries there, is named, with the numbers for each page
    32 * The same for the admin: the check also opens the dashboard and the posts list (and, with WooCommerce, the products and orders lists) as you, and names the plugins whose code, dashboard widgets included, keeps those screens waiting
    33 * Plugins that load their files on pages where nothing of them is shown: the browser checks every rule of each plugin's stylesheets against the page, and a plugin none of whose rules apply there is named, with the weight it adds
    34 * The largest stylesheets (50 KB or more) and scripts (100 KB or more), with the plugin or theme that adds each one
    35 * Errors on your pages, each put down to the plugin or theme it comes from: PHP errors raised while the page is built (fatal ones included), script errors in the browser, and files the page asks for that do not load
    36 * Pictures: the largest picture on the first screen waiting for lazy loading or not marked as urgent, other lazy pictures on the first screen, pictures without a width and height, how far the page jumps while it loads (layout shift), with what moved it, animations on the first screen that never stop, how much more phones with 3× screens download than 2× screens (from each picture's srcset and the files on your server), and how many copies of each upload WordPress keeps and the disk space they take, with the theme or plugin behind each picture size
    37 * Fonts: fonts loaded from Google's servers, how many font files a page loads, text that waits for its font, Font Awesome loaded more than once, the same font loaded twice (from two Google Fonts stylesheets, or the same font file from two places) with the theme or plugin behind each, font preloads that cannot be used, and a font loaded for less than 3% of the text next to the font the rest of the page uses
    38 * Scripts: files from other websites, the same library loaded twice, and which plugin's scripts keep the browser busy while the page loads (in Chrome, Edge and other Chromium-based browsers)
    39 * Speed settings of well-known plugins that are off: Elementor (Inline Font Icons, CSS Print Method, optimized image loading, lazy background images, local Google Fonts and their font-display), Formidable Forms styles on every page, Wordfence logging every visit, and the local Google Fonts setting of Astra, Kadence, OceanWP and Spectra (or GeneratePress font-display) when their fonts come from Google. This plugin only reads these settings and names them as each plugin's screen does
    40 * Housekeeping: the PHP error log (whether strangers can download it, its size, the plugins that fill it), backup and archive files left in wp-content, the largest database tables, plugins that are installed but switched off, and two SEO plugins active at once
    41 * Slow taps (Interaction to Next Paint): after the page has loaded, the check taps menus, buttons and tabs (never a link or a form, and with the network held back) and names the plugin or theme whose code made the visitor wait, and scripts that keep the browser busy after the page has loaded
    42 * Pages built from too many elements (more than 1,400), how many of them are hidden at phone width, and the largest parts of each page
     29* Front-end pages: the time the server takes, the weight of each page and whose files make it up, heavy pictures and videos, and plugins whose files load on pages where nothing of them is shown (every rule of their stylesheets is checked against the page)
     30* What each plugin and the theme cost your pages: server time, database queries, scripts and stylesheets and their weight, on how many pages. A plugin that takes 100 ms or more of a page (or a quarter of its time), or makes 100 or more queries there, is named with the numbers
     31* The admin too: the dashboard and the posts list (with WooCommerce, the products and orders lists), and the plugins and dashboard widgets that keep them waiting
     32* The largest stylesheets (50 KB or more) and scripts (100 KB or more), with the plugin or theme behind each
     33* Errors put down to the plugin or theme they come from: PHP errors while the page is built (fatal ones included), script errors in the browser, and files that do not load
     34* Pictures: the main picture of the first screen waiting for lazy loading or not marked as urgent, other lazy pictures on the first screen, pictures without a width and height, layout shift with what moved and what was added late, animations that never stop, how much more 3× phone screens download than 2×, and how many copies of each upload WordPress keeps, with the theme or plugin behind each size
     35* Fonts: fonts from Google's servers, how many font files a page loads, text waiting for its font, Font Awesome or the same font loaded more than once (with who loads each copy), font preloads that cannot be used, and a font used for less than 3% of the text
     36* Scripts: files from other websites, the same library loaded twice, scripts that keep the browser busy while the page loads, and slow taps (Interaction to Next Paint): the check taps menus, buttons and tabs (never a link or a form, with the network held back) and names the plugin or theme whose code made the visitor wait
     37* Pages built from more than 1,400 elements, how many of them are hidden at phone width, and the largest parts
    4338* Pages that no server or CDN cache can keep: the plugin or theme that gives every first-time visitor a cookie or a PHP session, or sends a no-store, no-cache or private header (the cart and the checkout are left out)
    44 * Settings WordPress loads on every request (autoloaded options): the largest of them with the plugin or theme each belongs to, active, switched off or removed, and a button that stops loading the ones left behind by plugins and themes that are not active (they stay in the database, and it can be undone)
    45 * Scheduled jobs that have fallen behind, including the Action Scheduler queue
    46 * WooCommerce: order storage, sessions that pile up, the cart script running outside the shop
    47 * The environment: PHP version, object cache, the page cache in use, and a cache plugin that is active with its page caching switched off (WP Super Cache, W3 Total Cache, WP Fastest Cache, WP-Optimize, Breeze, Hummingbird), named with the setting
    48 * How the server delivers pages and files: compressed (gzip, Brotli) or not, and whether browsers may keep stylesheets and scripts
    49 * The hosting: PHP running without OPcache, or with OPcache full, and slow pages whose time passes mostly outside the code of every plugin and the theme, which points at the server rather than at a plugin
    50 * Links: same-site links on the checked pages that lead to a missing page, and links that go through one or more redirects, each with the page it is on (up to 30 links per check, asked from your own server the way a visitor's browser would)
     39* Settings loaded on every request (autoloaded options): the largest, with the plugin or theme each belongs to (active, switched off or removed), and a button that stops loading the ones left behind by plugins and themes that are not active (they stay in the database, and it can be undone)
     40* Speed settings of well-known plugins that are off: Elementor (Inline Font Icons, CSS Print Method, optimized image loading, lazy background images, local Google Fonts and their font-display), Formidable Forms styles on every page, Wordfence logging every visit, and local Google Fonts in Astra, Kadence, OceanWP and Spectra (or GeneratePress font-display). This plugin only reads these settings
     41* Housekeeping: the PHP error log (whether strangers can download it, its size, who fills it), backup files left in wp-content, the largest database tables, plugins installed but switched off, two SEO plugins at once, scheduled jobs that have fallen behind (Action Scheduler included), and with WooCommerce the order storage, sessions that pile up and the cart script running outside the shop
     42* Server and hosting: PHP version, object cache, the page cache in use (and a cache plugin active with page caching off: WP Super Cache, W3 Total Cache, WP Fastest Cache, WP-Optimize, Breeze, Hummingbird), compression and browser caching of files, PHP without OPcache or with OPcache full, and slow pages whose time passes outside every plugin and the theme, which points at the server
     43* Links on the checked pages that lead to a missing page or go through redirects, each with the page it is on (up to 30 links per check)
    5144
    5245= The fixes =
    … …  
    7164= Works with other optimizers =
    7265
    73 Two plugins minifying the same files is a common cause of broken pages. If Autoptimize, LiteSpeed Cache, WP Fastest Cache, W3 Total Cache, Speed Optimizer, WP-Optimize, Breeze, Jetpack Boost, Asset CleanUp or Fast Velocity Minify already minifies your stylesheets or scripts, this plugin does not try its own fix: it names the plugin and the exact setting, and links to that plugin's settings. This plugin only reads their settings and never changes them. For WP Rocket, Perfmatters, FlyingPress, NitroPack and Hummingbird, whose settings it cannot read, it reminds you to keep only one of the two.
    74 
    75 The same goes for loading scripts with defer: while Autoptimize, LiteSpeed Cache, WP Fastest Cache, Speed Optimizer, WP-Optimize or Jetpack Boost already defers your scripts, this plugin's defer fix cannot be tried.
    76 
    77 When a fix has nothing to do on your site, for example because your theme does not load that file in the first place, this plugin says "Nothing to gain" and leaves it off.
     66When Autoptimize, LiteSpeed Cache, WP Fastest Cache, WP-Optimize or another optimizer already minifies or defers your files, this plugin does not do it a second time: it names the plugin and the exact setting (more in the FAQ). When a fix has nothing to do on your site, it says "Nothing to gain" and stays off.
    7867
    7968= Safety =
    … …  
    8877* Removing the plugin removes its settings, the picture copies and the minified copies it made.
    8978
    90 = What we tested it with =
    91 
    92 Themes: Astra, Kadence, GeneratePress, OceanWP, Twenty Twenty-Five, Hello Elementor with Elementor, Storefront.
    93 
    94 Page caches, switching a fix on and off with the cache running: Cache Enabler, WP Super Cache, WP-Optimize, W3 Total Cache, Breeze, WP Fastest Cache.
    95 
    96 This plugin also asks WP Rocket, LiteSpeed Cache, Speed Optimizer, Hummingbird and Autoptimize to clear their cache, but we have not yet tested those ourselves. Other caches can listen to the `speed_doctor_clear_cache` action.
    97 
    9879= Privacy =
    9980
    … …  
    11192
    11293== Frequently Asked Questions ==
     94
     95= Does it work next to WP Rocket, LiteSpeed Cache, Autoptimize and other optimizers? =
     96
     97Two plugins minifying the same files is a common cause of broken pages. If Autoptimize, LiteSpeed Cache, WP Fastest Cache, W3 Total Cache, Speed Optimizer, WP-Optimize, Breeze, Jetpack Boost, Asset CleanUp or Fast Velocity Minify already minifies your stylesheets or scripts, this plugin does not try its own fix: it names the plugin and the exact setting, and links to that plugin's settings. This plugin only reads their settings and never changes them. For WP Rocket, Perfmatters, FlyingPress, NitroPack and Hummingbird, whose settings it cannot read, it reminds you to keep only one of the two.
     98
     99The same goes for loading scripts with defer: while Autoptimize, LiteSpeed Cache, WP Fastest Cache, Speed Optimizer, WP-Optimize or Jetpack Boost already defers your scripts, this plugin's defer fix cannot be tried.
     100
     101When a fix has nothing to do on your site, for example because your theme does not load that file in the first place, this plugin says "Nothing to gain" and leaves it off.
     102
     103= Which themes and page caches is it tested with? =
     104
     105Themes: Astra, Kadence, GeneratePress, OceanWP, Twenty Twenty-Five, Hello Elementor with Elementor, Storefront.
     106
     107Page caches, switching a fix on and off with the cache running: Cache Enabler, WP Super Cache, WP-Optimize, W3 Total Cache, Breeze, WP Fastest Cache.
     108
     109This plugin also asks WP Rocket, LiteSpeed Cache, Speed Optimizer, Hummingbird and Autoptimize to clear their cache, but we have not yet tested those ourselves. Other caches can listen to the `speed_doctor_clear_cache` action.
    113110
    114111= Will it raise my PageSpeed Insights score? =
    … …  
    191188
    192189== Changelog ==
     190
     191= 1.6.1 =
     192* A layout shift now names a late element that has no id or class by its text (or its picture), and moved text by its words. Elements that are in the page from the start are no longer named as added late.
     193* The check no longer says the server sends files without compression, or that browsers are not told to keep them, when it could not read the answer as a visitor: a site behind a password (a staging copy), a maintenance page or a security challenge.
    193194
    194195= 1.6.0 =
Note: See TracChangeset for help on using the changeset viewer.