HTTP2 push content 1.10.22

Does HTTP2 push content work with WordPress 6.7.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: 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.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=ba642e1374
Aspect after-activation
HTTP status 200
Load time 0.244 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.128 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.187 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.496 s0.291 s-0.205 s3.48 MiB3.54 MiB+ 56.88 KiB
/wp-admin/edit.php0.214 s0.205 s-0.009 s3.54 MiB3.6 MiB+ 56.63 KiB
/wp-admin/post-new.php0.844 s1.135 s+0.291 s5.92 MiB5.98 MiB+ 60.54 KiB
/wp-admin/upload.php0.613 s0.339 s-0.274 s3.49 MiB3.53 MiB+ 39.22 KiB
/wp-admin/options-writing.php0.240 s0.343 s+0.103 s3.47 MiB3.51 MiB+ 43.21 KiB
/wp-admin/media-new.php0.267 s0.329 s+0.062 s3.46 MiB3.51 MiB+ 51.41 KiB
/wp-admin/edit-tags.php?taxonomy=category0.218 s0.187 s-0.031 s3.48 MiB3.54 MiB+ 62.07 KiB
/wp-admin/post-new.php?post_type=page1.042 s0.824 s-0.218 s5.92 MiB5.97 MiB+ 56.07 KiB
/wp-admin/options-discussion.php0.309 s0.267 s-0.042 s3.47 MiB3.51 MiB+ 39.71 KiB
/wp-admin/edit-comments.php0.279 s0.211 s-0.068 s3.49 MiB3.53 MiB+ 39.21 KiB
/0.556 s0.237 s-0.319 s3.47 MiB3.5 MiB+ 29.87 KiB
Average 0.462 s0.397 s-0.065 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

[02-Jan-2025 12:36:53 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