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

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: 99.93 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=4380952db8
Aspect after-activation
HTTP status 200
Load time 0.970 s
Memory usage 2.89 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 4.309 s
Memory usage 3.06 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.277 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.270 s0.390 s+0.120 s2.82 MiB2.89 MiB+ 67.71 KiB
/wp-admin/edit.php0.190 s0.206 s+0.016 s2.86 MiB2.93 MiB+ 67.71 KiB
/wp-admin/post-new.php0.965 s1.340 s+0.375 s5.02 MiB5.16 MiB+ 142.96 KiB
/wp-admin/upload.php0.521 s0.357 s-0.164 s2.7 MiB2.82 MiB+ 131.22 KiB
/wp-admin/options-writing.php0.269 s0.181 s-0.088 s2.71 MiB2.81 MiB+ 99.2 KiB
/wp-admin/media-new.php0.249 s0.189 s-0.060 s2.67 MiB2.8 MiB+ 131.39 KiB
/wp-admin/edit-tags.php?taxonomy=category0.189 s0.189 s+0.000 s2.77 MiB2.84 MiB+ 69.55 KiB
/wp-admin/post-new.php?post_type=page1.259 s0.755 s-0.504 s5.01 MiB5.14 MiB+ 138.55 KiB
/wp-admin/options-discussion.php0.302 s0.239 s-0.063 s2.67 MiB2.8 MiB+ 131.7 KiB
/wp-admin/edit-comments.php0.226 s0.223 s-0.003 s2.78 MiB2.84 MiB+ 66.64 KiB
/0.272 s0.250 s-0.022 s2.65 MiB2.7 MiB+ 52.59 KiB
Average 0.428 s0.393 s-0.036 s3.15 MiB3.25 MiB+ 99.93 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
PHP91.8%97359813
CSS7.8%8342
JavaScript0.4%4272
Total 1,060 629 17

PHP Code Analysis | More results »

Lines of code 458
Total complexity 90
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 37
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 30

PHP Error Log

The log file is empty.

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