HTTP2 push content 1.10.26

Does HTTP2 push content work with WordPress 6.7.2 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: 48.62 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.7.2
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=219cb568e9
Aspect after-activation
HTTP status 200
Load time 0.294 s
Memory usage 3.55 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.108 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.185 s
Memory usage 3.5 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.315 s0.303 s-0.012 s3.48 MiB3.54 MiB+ 56.88 KiB
/wp-admin/edit.php0.216 s0.209 s-0.007 s3.54 MiB3.6 MiB+ 56.63 KiB
/wp-admin/post-new.php0.761 s0.604 s-0.157 s5.93 MiB5.98 MiB+ 60.54 KiB
/wp-admin/upload.php0.553 s0.454 s-0.099 s3.5 MiB3.53 MiB+ 39.22 KiB
/wp-admin/options-writing.php0.214 s0.203 s-0.011 s3.47 MiB3.52 MiB+ 43.21 KiB
/wp-admin/media-new.php0.374 s0.224 s-0.150 s3.46 MiB3.51 MiB+ 51.41 KiB
/wp-admin/edit-tags.php?taxonomy=category0.202 s0.191 s-0.011 s3.48 MiB3.54 MiB+ 62.08 KiB
/wp-admin/post-new.php?post_type=page0.541 s0.611 s+0.070 s5.92 MiB5.97 MiB+ 56.07 KiB
/wp-admin/options-discussion.php0.261 s0.235 s-0.026 s3.48 MiB3.51 MiB+ 39.71 KiB
/wp-admin/edit-comments.php0.424 s0.404 s-0.020 s3.5 MiB3.53 MiB+ 39.21 KiB
/0.300 s0.219 s-0.081 s3.47 MiB3.5 MiB+ 29.87 KiB
Average 0.378 s0.332 s-0.046 s3.93 MiB3.98 MiB+ 48.62 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,91465522
SVG25.2%71712
CSS4.4%12641
JavaScript3.2%92341
Total 2,849 694 26

PHP Code Analysis | More results »

Lines of code 1,762
Total complexity 463
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 119
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

[10-Mar-2025 11:50:34 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(237): 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