WP REST Cache 2021.1.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: 75.35 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=f14b6197ff
Aspect after-activation
HTTP status 200
Load time 0.633 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.203 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.165 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.175 s
Memory usage 2.78 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.246 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.312 s0.285 s-0.027 s2.79 MiB2.87 MiB+ 80.86 KiB
/wp-admin/edit.php0.257 s0.239 s-0.018 s2.84 MiB2.91 MiB+ 80.86 KiB
/wp-admin/post-new.php1.612 s0.778 s-0.834 s4.93 MiB5.04 MiB+ 102.58 KiB
/wp-admin/upload.php0.666 s0.414 s-0.252 s2.67 MiB2.75 MiB+ 80.02 KiB
/wp-admin/options-writing.php0.227 s0.281 s+0.054 s2.68 MiB2.73 MiB+ 48 KiB
/wp-admin/media-new.php0.234 s0.215 s-0.019 s2.65 MiB2.72 MiB+ 80.19 KiB
/wp-admin/edit-tags.php?taxonomy=category0.228 s0.219 s-0.009 s2.68 MiB2.76 MiB+ 81.13 KiB
/wp-admin/post-new.php?post_type=page0.726 s0.798 s+0.072 s4.92 MiB5.02 MiB+ 96.4 KiB
/wp-admin/options-discussion.php0.242 s0.327 s+0.085 s2.65 MiB2.73 MiB+ 80.52 KiB
/wp-admin/edit-comments.php0.256 s0.252 s-0.004 s2.75 MiB2.83 MiB+ 80.01 KiB
/0.306 s0.245 s-0.061 s2.67 MiB2.69 MiB+ 18.3 KiB
Average 0.461 s0.368 s-0.092 s3.11 MiB3.19 MiB+ 75.35 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,9541,40124
CSS0.2%401
Total 1,958 1,401 25

PHP Code Analysis | More results »

Lines of code 1,592
Total complexity 348
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 14
Methods 114
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

[23-Feb-2021 16:42:44 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