WP REST Cache 2021.4.0

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

Summary

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

Memory usage: 87.65 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=1195d94a0a
Aspect after-activation
HTTP status 200
Load time 0.645 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.160 s
Memory usage 3.17 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.149 s
Memory usage 3.12 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 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.211 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.305 s0.265 s-0.040 s3.08 MiB3.17 MiB+ 90.61 KiB
/wp-admin/edit.php0.177 s0.200 s+0.023 s3.11 MiB3.26 MiB+ 154.61 KiB
/wp-admin/post-new.php1.778 s1.002 s-0.776 s5.27 MiB5.37 MiB+ 102.17 KiB
/wp-admin/upload.php0.538 s0.312 s-0.226 s3.03 MiB3.11 MiB+ 82.33 KiB
/wp-admin/options-writing.php0.167 s0.141 s-0.026 s3.02 MiB3.09 MiB+ 66.31 KiB
/wp-admin/media-new.php0.267 s0.214 s-0.053 s3.01 MiB3.09 MiB+ 82.5 KiB
/wp-admin/edit-tags.php?taxonomy=category0.189 s0.314 s+0.125 s3.04 MiB3.12 MiB+ 83.44 KiB
/wp-admin/post-new.php?post_type=page0.616 s0.678 s+0.062 s5.26 MiB5.35 MiB+ 95.99 KiB
/wp-admin/options-discussion.php0.242 s0.347 s+0.105 s3 MiB3.08 MiB+ 82.83 KiB
/wp-admin/edit-comments.php0.202 s0.264 s+0.062 s3.04 MiB3.12 MiB+ 81.72 KiB
/0.271 s0.232 s-0.039 s2.94 MiB2.98 MiB+ 41.66 KiB
Average 0.432 s0.361 s-0.071 s3.44 MiB3.52 MiB+ 87.65 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,0251,47925
CSS0.2%401
Total 2,029 1,479 26

PHP Code Analysis | More results »

Lines of code 1,659
Total complexity 368
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\API\Endpoint_Api::skip_caching()
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 8

PHP Error Log 93 lines

[15-Sep-2021 12:07:37 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:37 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
[15-Sep-2021 12:07:37 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
[15-Sep-2021 12:07:37 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:37 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
[15-Sep-2021 12:07:38 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:38 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
[15-Sep-2021 12:07:38 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:38 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
[15-Sep-2021 12:07:38 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:38 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
[15-Sep-2021 12:07:39 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:39 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
[15-Sep-2021 12:07:39 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:39 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
[15-Sep-2021 12:07:40 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:40 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
[15-Sep-2021 12:07:40 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:40 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
[15-Sep-2021 12:07:40 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:40 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
[15-Sep-2021 12:07:40 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:40 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
[15-Sep-2021 12:07:41 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:41 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
[15-Sep-2021 12:07:41 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:41 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
[15-Sep-2021 12:07:41 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:41 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
[15-Sep-2021 12:07:41 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:41 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
[15-Sep-2021 12:07:42 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:42 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
[15-Sep-2021 12:07:42 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:42 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
[15-Sep-2021 12:07:42 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:42 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
[15-Sep-2021 12:07:42 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:42 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
[15-Sep-2021 12:07:42 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:42 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
[15-Sep-2021 12:07:42 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:42 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
[15-Sep-2021 12:07:42 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:42 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
[15-Sep-2021 12:07:42 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:42 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
[15-Sep-2021 12:07:42 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:42 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
[15-Sep-2021 12:07:42 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:42 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
[15-Sep-2021 12:07:43 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:43 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
[15-Sep-2021 12:07:43 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:43 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
[15-Sep-2021 12:07:43 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:43 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
[15-Sep-2021 12:07:43 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:43 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
[15-Sep-2021 12:07:44 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:44 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
[15-Sep-2021 12:07:44 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:44 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
[15-Sep-2021 12:07:44 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:44 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
[15-Sep-2021 12:07:44 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:44 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
[15-Sep-2021 12:07:44 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:44 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
[15-Sep-2021 12:07:44 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:44 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
[15-Sep-2021 12:07:44 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:44 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
[15-Sep-2021 12:07:44 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:44 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
[15-Sep-2021 12:07:45 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:45 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
[15-Sep-2021 12:07:45 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:45 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
[15-Sep-2021 12:07:45 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:45 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
[15-Sep-2021 12:07:45 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:45 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
[15-Sep-2021 12:07:45 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:45 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
[15-Sep-2021 12:07:45 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:45 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
[15-Sep-2021 12:07:46 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:46 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
[15-Sep-2021 12:07:46 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:46 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
[15-Sep-2021 12:07:46 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 461
[15-Sep-2021 12:07:46 UTC] PHP Notice:  Undefined variable: original_disallowed_endpoints in /wp-content/plugins/wp-rest-cache/includes/api/class-endpoint-api.php on line 462
See also: All tests for this plugin, How to Hide the "WP REST Cache" Admin Menu