Reduce Unused CSS Solution with Critical CSS For WP 1.0.19

Does "Reduce Unused CSS Solution with Critical CSS For WP" work with WordPress 6.8.1 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: 50.87 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 1,000+
WordPress.org page https://wordpress.org/plugins/critical-css-for-wp/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

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=critical-css-for-wp%2Fcritical-css-for-wp.php&plugin_status=all&paged=1&s&_wpnonce=c32f7fb821
Aspect after-activation
HTTP status 200
Load time 0.323 s
Memory usage 3.57 MiB
JS errors None
Resource errors None

Critical CSS For WP

Page screenshot: Critical CSS For WP
URL /wp-admin/admin.php?page=critical-css-for-wp
Aspect menu-item
HTTP status 200
Load time 0.202 s
Memory usage 3.54 MiB
JS errors None
Resource errors None

Critical CSS For WP → Advance

Page screenshot: Critical CSS For WP → Advance
URL /wp-admin/admin.php?page=critical-css-for-wp&tab=advance
Aspect menu-item-tab
HTTP status 200
Load time 0.291 s
Memory usage 3.54 MiB
JS errors None
Resource errors None

Critical CSS For WP → Support

Page screenshot: Critical CSS For WP → Support
URL /wp-admin/admin.php?page=critical-css-for-wp&tab=support
Aspect menu-item-tab
HTTP status 200
Load time 0.282 s
Memory usage 3.54 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.168 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.330 s0.251 s-0.079 s3.51 MiB3.56 MiB+ 52.74 KiB
/wp-admin/edit.php0.201 s0.197 s-0.004 s3.57 MiB3.64 MiB+ 73.05 KiB
/wp-admin/post-new.php0.756 s0.710 s-0.046 s6.06 MiB6.12 MiB+ 57.11 KiB
/wp-admin/upload.php0.612 s0.517 s-0.095 s3.52 MiB3.56 MiB+ 35.38 KiB
/wp-admin/options-writing.php0.229 s0.196 s-0.033 s3.5 MiB3.54 MiB+ 39.37 KiB
/wp-admin/media-new.php0.257 s0.224 s-0.033 s3.49 MiB3.54 MiB+ 47.56 KiB
/wp-admin/edit-tags.php?taxonomy=category0.281 s0.186 s-0.095 s3.5 MiB3.56 MiB+ 58.23 KiB
/wp-admin/post-new.php?post_type=page0.604 s0.603 s-0.001 s6.05 MiB6.1 MiB+ 52.63 KiB
/wp-admin/options-discussion.php0.308 s0.241 s-0.067 s3.5 MiB3.54 MiB+ 35.87 KiB
/wp-admin/edit-comments.php0.424 s0.409 s-0.015 s3.52 MiB3.56 MiB+ 35.37 KiB
/0.303 s0.187 s-0.116 s3.43 MiB3.5 MiB+ 72.22 KiB
Average 0.391 s0.338 s-0.053 s3.97 MiB4.02 MiB+ 50.87 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
CSS
JavaScript
Language % Lines of code Comment lines Files
PHP76.5%2,1762675
CSS13.3%37981
JavaScript10.2%28941
Total 2,844 279 7

PHP Code Analysis | More results »

Lines of code 2,206
Total complexity 448
Median class complexity 262.0
Median method complexity 6.0
Most complex class Critical_Css_For_Wp
Most complex function ccwp_delay_js_html()
Classes 1
Methods 38
Functions 34

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.

Database Tables 1

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide the "Critical CSS For WP" Admin Menu