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

Does "An efficient lazy loader (defer.js)" work with WordPress 5.7 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: 96.97 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.7
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=e5256c9ed4
Aspect after-activation
HTTP status 200
Load time 0.896 s
Memory usage 3.1 MiB
JS errors None
Resource errors None

My defer.js

Page screenshot: My defer.js
URL /wp-admin/admin.php?page=defer-wordpress
Aspect menu-item
HTTP status 200
Load time 0.607 s
Memory usage 3.18 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.344 s
Memory usage 2.7 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.264 s0.278 s+0.014 s2.82 MiB2.88 MiB+ 64.67 KiB
/wp-admin/edit.php0.181 s0.208 s+0.027 s2.86 MiB2.93 MiB+ 64.67 KiB
/wp-admin/post-new.php0.948 s1.202 s+0.254 s5.02 MiB5.16 MiB+ 139.92 KiB
/wp-admin/upload.php0.506 s0.339 s-0.167 s2.7 MiB2.82 MiB+ 128.18 KiB
/wp-admin/options-writing.php0.249 s0.157 s-0.092 s2.71 MiB2.8 MiB+ 96.16 KiB
/wp-admin/media-new.php0.221 s0.276 s+0.055 s2.67 MiB2.8 MiB+ 128.35 KiB
/wp-admin/edit-tags.php?taxonomy=category0.187 s0.285 s+0.098 s2.77 MiB2.84 MiB+ 66.51 KiB
/wp-admin/post-new.php?post_type=page1.299 s0.814 s-0.485 s5.01 MiB5.14 MiB+ 135.51 KiB
/wp-admin/options-discussion.php0.318 s0.311 s-0.007 s2.67 MiB2.8 MiB+ 128.66 KiB
/wp-admin/edit-comments.php0.222 s0.233 s+0.011 s2.78 MiB2.84 MiB+ 63.6 KiB
/0.307 s0.271 s-0.036 s2.65 MiB2.7 MiB+ 50.45 KiB
Average 0.427 s0.398 s-0.030 s3.15 MiB3.25 MiB+ 96.97 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
Language % Lines of code Comment lines Files
PHP92.2%88459813
CSS7.4%7142
JavaScript0.4%4272
Total 959 629 17

PHP Code Analysis | More results »

Lines of code 444
Total complexity 84
Median class complexity 6.0
Median method complexity 1.0
Most complex class Defer_Wordpress_Admin
Most complex function defer_wp_instance()
Classes 7
Methods 36
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 29

PHP Error Log

The log file is empty.

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