WP REST Cache 2022.2.1

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

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 93.62 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.0.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=9130c6f387
Aspect after-activation
HTTP status 200
Load time 0.414 s
Memory usage 4.33 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.270 s
Memory usage 3.83 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.160 s
Memory usage 3.78 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.163 s
Memory usage 3.8 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.312 s
Memory usage 3.64 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.550 s0.407 s-0.143 s3.72 MiB3.81 MiB+ 87.09 KiB
/wp-admin/edit.php0.194 s0.224 s+0.030 s3.76 MiB3.84 MiB+ 86.38 KiB
/wp-admin/post-new.php0.794 s0.981 s+0.187 s5.55 MiB5.65 MiB+ 104.28 KiB
/wp-admin/upload.php0.384 s0.316 s-0.068 s3.69 MiB3.77 MiB+ 85.9 KiB
/wp-admin/options-writing.php0.146 s0.151 s+0.005 s3.62 MiB3.75 MiB+ 129.81 KiB
/wp-admin/media-new.php0.394 s0.192 s-0.202 s3.66 MiB3.75 MiB+ 86.07 KiB
/wp-admin/edit-tags.php?taxonomy=category0.215 s0.186 s-0.029 s3.69 MiB3.77 MiB+ 87.01 KiB
/wp-admin/post-new.php?post_type=page0.687 s0.745 s+0.058 s5.54 MiB5.64 MiB+ 94.1 KiB
/wp-admin/options-discussion.php0.221 s0.298 s+0.077 s3.6 MiB3.75 MiB+ 150.4 KiB
/wp-admin/edit-comments.php0.227 s0.199 s-0.028 s3.7 MiB3.78 MiB+ 85.89 KiB
/0.333 s0.220 s-0.113 s3.6 MiB3.64 MiB+ 32.89 KiB
Average 0.377 s0.356 s-0.021 s4.01 MiB4.1 MiB+ 93.62 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,0911,62125
CSS0.2%401
Total 2,095 1,621 26

PHP Code Analysis | More results »

Lines of code 1,719
Total complexity 379
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 118
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

The log file is empty.

See also: All tests for this plugin, How to Hide the "WP REST Cache" Admin Menu