A faster website! (aka defer.js) 2.0.0-beta.7

Does "An efficient lazy loader (defer.js)" work with WordPress 5.6 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 405.78 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version5.6
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 300+
WordPress.org page https://wordpress.org/plugins/shins-pageload-magic/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=shins-pageload-magic%2Fshins-pageload-magic.php&plugin_status=all&paged=1&s&_wpnonce=9415b8a0c7
Aspect after-activation
HTTP status 200
Load time 0.684 s
Memory usage 3.36 MiB
JS errors None
Resource errors None

My defer.js

Page screenshot: My defer.js
URL /wp-admin/admin.php?page=docker-wordpress
Aspect menu-item
HTTP status 200
Load time 0.626 s
Memory usage 3.4 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.239 s
Memory usage 2.67 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.274 s0.260 s-0.014 s2.79 MiB3.22 MiB+ 436.17 KiB
/wp-admin/edit.php0.187 s0.189 s+0.002 s2.84 MiB3.26 MiB+ 435.8 KiB
/wp-admin/post-new.php0.872 s0.947 s+0.075 s4.93 MiB5.37 MiB+ 448.67 KiB
/wp-admin/upload.php0.849 s0.517 s-0.332 s2.67 MiB3.09 MiB+ 435.45 KiB
/wp-admin/options-writing.php0.251 s0.169 s-0.082 s2.68 MiB3.08 MiB+ 403.05 KiB
/wp-admin/media-new.php0.215 s0.180 s-0.035 s2.65 MiB3.07 MiB+ 435.25 KiB
/wp-admin/edit-tags.php?taxonomy=category0.176 s0.197 s+0.021 s2.68 MiB3.17 MiB+ 500.16 KiB
/wp-admin/post-new.php?post_type=page0.974 s0.556 s-0.418 s4.92 MiB5.36 MiB+ 444.26 KiB
/wp-admin/options-discussion.php0.282 s0.201 s-0.081 s2.65 MiB3.07 MiB+ 435.56 KiB
/wp-admin/edit-comments.php0.212 s0.216 s+0.004 s2.75 MiB3.17 MiB+ 435.1 KiB
/0.392 s0.247 s-0.145 s2.61 MiB2.67 MiB+ 54.05 KiB
Average 0.426 s0.334 s-0.091 s3.11 MiB3.5 MiB+ 405.78 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
CSS
Language % Lines of code Comment lines Files
PHP91.3%79261113
CSS8.2%7142
JavaScript0.5%4272
Total 867 642 17

PHP Code Analysis | More results »

Lines of code 419
Total complexity 73
Median class complexity 6.0
Median method complexity 1.0
Most complex class Defer_Wordpress_Admin
Most complex function Defer_Wordpress_Admin::save_settings()
Classes 7
Methods 35
Functions 6

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Options wp_options 25

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide the "My defer.js" Admin Menu