HTTP2 push content 1.10.29

Does HTTP2 push content work with WordPress 6.8.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1PHP fatal errors
No JavaScript exceptions
1Page failed to load
  • 1 500 Internal Server Error
No resource errors
Performance

Memory usage: 54.6 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.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 10,000+
WordPress.org page https://wordpress.org/plugins/http2-push-content/
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=http2-push-content%2Fhttp2-push-content.php&plugin_status=all&paged=1&s&_wpnonce=1f64a73610
Aspect after-activation
HTTP status 200
Load time 0.268 s
Memory usage 3.58 MiB
JS errors None
Resource errors None

HTTP2 Push Content

Page screenshot: HTTP2 Push Content
URL /wp-admin/admin.php?page=http2-push-content
Aspect menu-item
HTTP status 500
Load time 0.099 s
Memory usage N/A
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.196 s
Memory usage 3.53 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.344 s0.298 s-0.046 s3.51 MiB3.56 MiB+ 57.09 KiB
/wp-admin/edit.php0.204 s0.233 s+0.029 s3.57 MiB3.63 MiB+ 56.47 KiB
/wp-admin/post-new.php0.836 s0.668 s-0.168 s6.06 MiB6.12 MiB+ 60.1 KiB
/wp-admin/upload.php0.772 s0.845 s+0.073 s3.52 MiB3.56 MiB+ 39.06 KiB
/wp-admin/options-writing.php0.235 s0.199 s-0.036 s3.5 MiB3.54 MiB+ 43.05 KiB
/wp-admin/media-new.php0.291 s0.248 s-0.043 s3.49 MiB3.54 MiB+ 51.25 KiB
/wp-admin/edit-tags.php?taxonomy=category0.202 s0.194 s-0.008 s3.5 MiB3.56 MiB+ 61.92 KiB
/wp-admin/post-new.php?post_type=page0.763 s0.626 s-0.137 s6.05 MiB6.1 MiB+ 55.63 KiB
/wp-admin/options-discussion.php0.277 s0.241 s-0.036 s3.5 MiB3.54 MiB+ 39.55 KiB
/wp-admin/edit-comments.php0.456 s0.200 s-0.256 s3.52 MiB3.56 MiB+ 39.05 KiB
/0.326 s0.175 s-0.151 s3.43 MiB3.53 MiB+ 97.44 KiB
Average 0.428 s0.357 s-0.071 s3.97 MiB4.02 MiB+ 54.6 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
SVG
Language % Lines of code Comment lines Files
PHP67.2%1,91765522
SVG25.1%71712
CSS4.4%12641
JavaScript3.2%92341
Total 2,852 694 26

PHP Code Analysis | More results »

Lines of code 1,765
Total complexity 464
Median class complexity 14.0
Median method complexity 2.0
Most complex class Http2_Push_Content_Apply_To
Most complex function Http2_Push_Content_General_Option::templateRow()
Classes 16
Methods 120
Functions 5

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 8 lines

[01-May-2025 10:19:33 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function WC() in /wp-content/plugins/http2-push-content/admin/class-http2-push-content-menu.php:32
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): Http2_Push_Content_Menu->bootstrap_style()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/admin.php(238): do_action()
#4 {main}
  thrown in /wp-content/plugins/http2-push-content/admin/class-http2-push-content-menu.php on line 32
See also: All tests for this plugin, How to Hide the "HTTP2 Push Content" Admin Menu