WP REST Cache 2021.2.0

Does WP REST Cache work with WordPress 5.6.2 and PHP 7.4.8? A smoke test was performed on .

Summary

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

Memory usage: 77.02 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 version5.6.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 10,000+
WordPress.org page https://wordpress.org/plugins/wp-rest-cache/
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=wp-rest-cache%2Fwp-rest-cache.php&plugin_status=all&paged=1&s&_wpnonce=aef8336cf4
Aspect after-activation
HTTP status 200
Load time 0.440 s
Memory usage 3.59 MiB
JS errors None
Resource errors None

Settings → WP REST Cache

Page screenshot: Settings → WP REST Cache
URL /wp-admin/options-general.php?page=wp-rest-cache
Aspect menu-item
HTTP status 200
Load time 0.171 s
Memory usage 2.82 MiB
JS errors None
Resource errors None

Settings → WP REST Cache → Endpoint API Caches

Page screenshot: Settings → WP REST Cache → Endpoint API Caches
URL /wp-admin/options-general.php?page=wp-rest-cache&sub=endpoint-api
Aspect menu-item-tab
HTTP status 200
Load time 0.146 s
Memory usage 2.77 MiB
JS errors None
Resource errors None

Settings → WP REST Cache → Clear Caches

Page screenshot: Settings → WP REST Cache → Clear Caches
URL /wp-admin/options-general.php?page=wp-rest-cache&sub=clear-cache
Aspect menu-item-tab
HTTP status 200
Load time 0.157 s
Memory usage 2.79 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.164 s
Memory usage 2.69 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.260 s0.265 s+0.005 s2.79 MiB2.87 MiB+ 82.53 KiB
/wp-admin/edit.php0.177 s0.190 s+0.013 s2.84 MiB2.92 MiB+ 82.53 KiB
/wp-admin/post-new.php0.814 s0.995 s+0.181 s4.93 MiB5.04 MiB+ 104.25 KiB
/wp-admin/upload.php0.452 s0.390 s-0.062 s2.67 MiB2.75 MiB+ 81.69 KiB
/wp-admin/options-writing.php0.153 s0.138 s-0.015 s2.68 MiB2.73 MiB+ 49.67 KiB
/wp-admin/media-new.php0.217 s0.165 s-0.052 s2.65 MiB2.73 MiB+ 81.86 KiB
/wp-admin/edit-tags.php?taxonomy=category0.187 s0.182 s-0.005 s2.68 MiB2.76 MiB+ 82.8 KiB
/wp-admin/post-new.php?post_type=page1.037 s0.509 s-0.528 s4.92 MiB5.02 MiB+ 98.07 KiB
/wp-admin/options-discussion.php0.315 s0.254 s-0.061 s2.65 MiB2.73 MiB+ 82.19 KiB
/wp-admin/edit-comments.php0.241 s0.213 s-0.028 s2.75 MiB2.83 MiB+ 81.68 KiB
/0.250 s0.255 s+0.005 s2.67 MiB2.69 MiB+ 19.97 KiB
Average 0.373 s0.323 s-0.050 s3.11 MiB3.19 MiB+ 77.02 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
Language % Lines of code Comment lines Files
PHP99.8%1,9991,45825
CSS0.2%401
Total 2,003 1,458 26

PHP Code Analysis | More results »

Lines of code 1,637
Total complexity 361
Median class complexity 7.0
Median method complexity 2.0
Most complex class WP_Rest_Cache_Plugin\Includes\Caching\Caching
Most complex function WP_Rest_Cache_Plugin\Includes\Caching\Caching::process_recursive_cache_relations()
Classes 15
Methods 116
Functions 0

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 2

Options wp_options 7

PHP Error Log 1 lines

[24-Feb-2021 14:11:48 UTC] WordPress database error Table 'wordpress.wp_wrc_relations' doesn't exist for query ALTER TABLE `wp_wrc_relations` DROP INDEX `object`; made by require_once('wp-admin/admin.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters, WP_Rest_Cache_Plugin\Includes\Caching\Caching->update_database_structure
See also: All tests for this plugin, How to Hide the "WP REST Cache" Admin Menu