WP REST Cache 2021.3.0

Does WP REST Cache work with WordPress 5.8.1 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: 90.48 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.8.1
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=80ee7a106d
Aspect after-activation
HTTP status 200
Load time 0.901 s
Memory usage 3.86 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.277 s
Memory usage 3.16 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.143 s
Memory usage 3.11 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.145 s
Memory usage 3.13 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.193 s
Memory usage 2.98 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.327 s0.263 s-0.064 s3.08 MiB3.17 MiB+ 90.61 KiB
/wp-admin/edit.php0.169 s0.182 s+0.013 s3.11 MiB3.26 MiB+ 154.61 KiB
/wp-admin/post-new.php1.067 s1.106 s+0.039 s5.27 MiB5.37 MiB+ 102.17 KiB
/wp-admin/upload.php0.534 s0.305 s-0.229 s3.03 MiB3.11 MiB+ 81.73 KiB
/wp-admin/options-writing.php0.159 s0.136 s-0.023 s3.02 MiB3.09 MiB+ 65.71 KiB
/wp-admin/media-new.php0.245 s0.179 s-0.066 s3.01 MiB3.09 MiB+ 81.9 KiB
/wp-admin/edit-tags.php?taxonomy=category0.180 s0.168 s-0.012 s3.04 MiB3.12 MiB+ 82.84 KiB
/wp-admin/post-new.php?post_type=page0.892 s1.226 s+0.334 s5.26 MiB5.35 MiB+ 95.99 KiB
/wp-admin/options-discussion.php0.214 s0.258 s+0.044 s3 MiB3.08 MiB+ 82.23 KiB
/wp-admin/edit-comments.php0.198 s0.258 s+0.060 s3.04 MiB3.12 MiB+ 81.72 KiB
/0.290 s0.257 s-0.033 s2.91 MiB2.98 MiB+ 75.73 KiB
Average 0.389 s0.394 s+0.006 s3.43 MiB3.52 MiB+ 90.48 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%2,0031,45825
CSS0.2%401
Total 2,007 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

[10-Sep-2021 06:07:56 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