Easy Critical CSS 1.0.3

Does Easy Critical CSS work with WordPress 6.8.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
1Database errors
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 245.93 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
WordPress.org page https://wordpress.org/plugins/easy-critical-css/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

Easy Critical CSS Settings ‹ Test site — WordPress

Page screenshot: Easy Critical CSS Settings ‹ Test site — WordPress
URL /wp-admin/options-general.php?page=easy-critical-css-settings
Requested URL /wp-admin/plugins.php?action=activate&plugin=easy-critical-css%2Feasy-critical-css.php&plugin_status=all&paged=1&s&_wpnonce=5987ca4e51
Aspect after-activation
HTTP status 200
Load time 0.637 s
Memory usage 3.87 MiB
JS errors None
Resource errors None

Settings → Easy Critical CSS

Page screenshot: Settings → Easy Critical CSS
URL /wp-admin/options-general.php?page=easy-critical-css-settings
Aspect menu-item
HTTP status 200
Load time 0.177 s
Memory usage 3.72 MiB
JS errors None
Resource errors None

Settings → Contact Us

Page screenshot: Settings → Contact Us
URL /wp-admin/options-general.php?page=easy-critical-css-settings-contact
Aspect menu-item
HTTP status 200
Load time 0.917 s
Memory usage 3.73 MiB
JS errors None
Resource errors None

Settings → Get API Key  ➤

Page screenshot: Settings → Get API Key  ➤
URL /wp-admin/options-general.php?page=easy-critical-css-settings-pricing
Aspect menu-item
HTTP status 200
Load time 0.671 s
Memory usage 3.73 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.234 s
Memory usage 3.56 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.340 s0.323 s-0.017 s3.51 MiB3.8 MiB+ 299.29 KiB
/wp-admin/edit.php0.204 s0.214 s+0.010 s3.57 MiB3.82 MiB+ 249.91 KiB
/wp-admin/post-new.php0.771 s0.922 s+0.151 s6.06 MiB6.39 MiB+ 335.59 KiB
/wp-admin/upload.php0.658 s0.567 s-0.091 s3.52 MiB3.74 MiB+ 218.19 KiB
/wp-admin/options-writing.php0.227 s0.194 s-0.033 s3.5 MiB3.72 MiB+ 221.88 KiB
/wp-admin/media-new.php0.313 s0.240 s-0.073 s3.49 MiB3.72 MiB+ 238.06 KiB
/wp-admin/edit-tags.php?taxonomy=category0.210 s0.193 s-0.017 s3.5 MiB3.73 MiB+ 235.23 KiB
/wp-admin/post-new.php?post_type=page0.615 s0.638 s+0.023 s6.05 MiB6.38 MiB+ 333.3 KiB
/wp-admin/options-discussion.php0.315 s0.668 s+0.353 s3.5 MiB3.72 MiB+ 218.38 KiB
/wp-admin/edit-comments.php0.425 s0.282 s-0.143 s3.52 MiB3.76 MiB+ 240.2 KiB
/0.318 s0.224 s-0.094 s3.43 MiB3.55 MiB+ 115.16 KiB
Average 0.400 s0.406 s+0.006 s3.97 MiB4.21 MiB+ 245.93 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
TypeScript
Language % Lines of code Comment lines Files
PHP79.0%2,56647422
TypeScript16.0%519111
JavaScript1.8%5922
JSON1.8%5802
CSS1.4%4501
Total 3,247 477 38

PHP Code Analysis | More results »

Lines of code 2,555
Total complexity 535
Median class complexity 27.0
Median method complexity 2.0
Most complex class EasyCriticalCSS\Critical_CSS
Most complex function EasyCriticalCSS\API_Service::request_critical_css()
Classes 19
Methods 132
Functions 1

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

Options wp_options 7

PHP Error Log 1 lines

[16-May-2025 21:19:12 UTC] WordPress database error Duplicate entry '' for key 'handshake' for query INSERT INTO `wp_easy_critical_css` (`url_hash`, `post_id`, `settings`) VALUES ('2f3083147847075a50a69fd3136f7fb9', 40, '{\"activate_critical_css\":true,\"critical_css_mode\":\"default\",\"secondary_css_behavior\":\"default\",\"critical_css\":\"\",\"manual_secondary_css\":\"\",\"forced_critical_selectors\":\"\",\"forced_secondary_selectors\":\"\",\"excluded_css_files\":\"\"}') made by require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array('parse_request'), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Server->respond_to_request, EasyCriticalCSS\REST_API::update_settings_api, EasyCriticalCSS\Individual_Settings::save_settings, EasyCriticalCSS\Database::upsert_row
See also: All tests for this plugin, How to Hide Easy Critical CSS Admin Menus