DNS Prefetch 0.1.0

Does DNS Prefetch work with WordPress 6.8.3 and PHP 8.1.12? 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: 8.67 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 version6.8.3
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 200+
WordPress.org page https://wordpress.org/plugins/dns-prefetch/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

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=dns-prefetch%2Fdns-prefetch.php&plugin_status=all&paged=1&s&_wpnonce=bd82071195
Aspect after-activation
HTTP status 200
Load time 0.253 s
Memory usage 3.53 MiB
JS errors None
Resource errors None

Settings → DNS Prefetch

Page screenshot: Settings → DNS Prefetch
URL /wp-admin/options-general.php?page=dns-prefetch
Aspect menu-item
HTTP status 200
Load time 0.263 s
Memory usage 3.53 MiB
JS errors None
Resource errors None

Settings → DNS Prefetch → Support

Page screenshot: Settings → DNS Prefetch → Support
URL /wp-admin/options-general.php?page=dns-prefetch&tab=support
Aspect menu-item-tab
HTTP status 200
Load time 0.217 s
Memory usage 3.5 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.209 s
Memory usage 3.44 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.356 s0.279 s-0.077 s3.51 MiB3.52 MiB+ 14.23 KiB
/wp-admin/edit.php0.213 s0.230 s+0.017 s3.57 MiB3.59 MiB+ 14.97 KiB
/wp-admin/post-new.php0.792 s0.643 s-0.149 s6.06 MiB6.08 MiB+ 17.86 KiB
/wp-admin/upload.php0.568 s0.321 s-0.247 s3.52 MiB3.52 MiB- 2.44 KiB
/wp-admin/options-writing.php0.203 s0.198 s-0.005 s3.5 MiB3.5 MiB+ 1.55 KiB
/wp-admin/media-new.php0.269 s0.233 s-0.036 s3.49 MiB3.5 MiB+ 9.75 KiB
/wp-admin/edit-tags.php?taxonomy=category0.234 s0.211 s-0.023 s3.5 MiB3.52 MiB+ 20.42 KiB
/wp-admin/post-new.php?post_type=page0.628 s0.790 s+0.162 s6.05 MiB6.06 MiB+ 13.38 KiB
/wp-admin/options-discussion.php0.323 s0.410 s+0.087 s3.5 MiB3.5 MiB- 1.95 KiB
/wp-admin/edit-comments.php0.207 s0.200 s-0.007 s3.52 MiB3.52 MiB- 2.45 KiB
/0.308 s0.207 s-0.101 s3.43 MiB3.44 MiB+ 9.99 KiB
Average 0.373 s0.338 s-0.034 s3.97 MiB3.98 MiB+ 8.67 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
PHP97.8%222373
CSS2.2%501
Total 227 37 4

PHP Code Analysis | More results »

Lines of code 217
Total complexity 47
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function dpf_page()
Classes 0
Methods 0
Functions 25

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 1

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide the "DNS Prefetch" Admin Menu