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

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: 97.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=41745845e2
Aspect after-activation
HTTP status 200
Load time 1.040 s
Memory usage 2.88 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.556 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.290 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.287 s0.289 s+0.002 s2.82 MiB2.88 MiB+ 65.75 KiB
/wp-admin/edit.php0.184 s0.217 s+0.033 s2.86 MiB2.93 MiB+ 65.75 KiB
/wp-admin/post-new.php0.966 s1.172 s+0.206 s5.02 MiB5.16 MiB+ 141 KiB
/wp-admin/upload.php0.514 s0.343 s-0.171 s2.7 MiB2.82 MiB+ 129.26 KiB
/wp-admin/options-writing.php0.257 s0.153 s-0.104 s2.71 MiB2.81 MiB+ 97.23 KiB
/wp-admin/media-new.php0.233 s0.283 s+0.050 s2.67 MiB2.8 MiB+ 129.43 KiB
/wp-admin/edit-tags.php?taxonomy=category0.202 s0.207 s+0.005 s2.77 MiB2.84 MiB+ 67.59 KiB
/wp-admin/post-new.php?post_type=page1.262 s1.106 s-0.156 s5.01 MiB5.14 MiB+ 136.59 KiB
/wp-admin/options-discussion.php0.317 s0.289 s-0.028 s2.67 MiB2.8 MiB+ 129.74 KiB
/wp-admin/edit-comments.php0.229 s0.317 s+0.088 s2.78 MiB2.84 MiB+ 64.68 KiB
/0.263 s0.264 s+0.001 s2.65 MiB2.7 MiB+ 50.63 KiB
Average 0.429 s0.422 s-0.007 s3.15 MiB3.25 MiB+ 97.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
PHP91.8%96960013
CSS7.9%8342
JavaScript0.4%4272
Total 1,056 631 17

PHP Code Analysis | More results »

Lines of code 455
Total complexity 88
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 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 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