WP REST Cache 2022.2.0

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

Summary

Errors
2PHP warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
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.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 3

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=5af5422570
Aspect after-activation
HTTP status 200
Load time 0.570 s
Memory usage 4.32 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.153 s
Memory usage 3.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.230 s
Memory usage 3.63 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.310 s0.266 s-0.044 s3.72 MiB3.81 MiB+ 87.09 KiB
/wp-admin/edit.php0.185 s0.205 s+0.020 s3.75 MiB3.84 MiB+ 86.38 KiB
/wp-admin/post-new.php0.753 s1.218 s+0.465 s5.55 MiB5.65 MiB+ 104.28 KiB
/wp-admin/upload.php0.396 s0.352 s-0.044 s3.68 MiB3.77 MiB+ 85.9 KiB
/wp-admin/options-writing.php0.278 s0.152 s-0.126 s3.62 MiB3.74 MiB+ 129.81 KiB
/wp-admin/media-new.php0.266 s0.199 s-0.067 s3.66 MiB3.75 MiB+ 86.07 KiB
/wp-admin/edit-tags.php?taxonomy=category0.181 s0.300 s+0.119 s3.69 MiB3.77 MiB+ 87.01 KiB
/wp-admin/post-new.php?post_type=page1.420 s1.170 s-0.250 s5.54 MiB5.63 MiB+ 94.1 KiB
/wp-admin/options-discussion.php0.206 s0.254 s+0.048 s3.6 MiB3.74 MiB+ 150.4 KiB
/wp-admin/edit-comments.php0.211 s0.211 s+0.000 s3.69 MiB3.78 MiB+ 85.89 KiB
/0.427 s0.225 s-0.202 s3.6 MiB3.63 MiB+ 32.89 KiB
Average 0.421 s0.414 s-0.007 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 2 lines

[25-Aug-2022 14:42:16 UTC] PHP Warning:  include_once(/wp-content/plugins/wp-rest-cache/admin/partials/sub-.php): failed to open stream: No such file or directory in /wp-content/plugins/wp-rest-cache/admin/class-admin.php on line 184
[25-Aug-2022 14:42:16 UTC] PHP Warning:  include_once(): Failed opening '/wp-content/plugins/wp-rest-cache/admin/partials/sub-.php' for inclusion (include_path='.:/opt/bitnami/php/lib/php') in /wp-content/plugins/wp-rest-cache/admin/class-admin.php on line 184
See also: All tests for this plugin, How to Hide the "WP REST Cache" Admin Menu