WP REST Cache 2023.2.0

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

Summary

Errors
23PHP warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 81.22 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.3
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
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=6d91ec7fab
Aspect after-activation
HTTP status 200
Load time 0.336 s
Memory usage 3.56 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.191 s
Memory usage 2.9 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.192 s
Memory usage 2.84 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.179 s
Memory usage 2.86 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.169 s
Memory usage 3.2 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.363 s0.330 s-0.033 s2.82 MiB2.91 MiB+ 89.86 KiB
/wp-admin/edit.php0.209 s0.231 s+0.022 s2.85 MiB2.94 MiB+ 88.84 KiB
/wp-admin/post-new.php0.795 s0.797 s+0.002 s5.21 MiB5.3 MiB+ 89.87 KiB
/wp-admin/upload.php0.719 s0.498 s-0.221 s2.77 MiB2.84 MiB+ 73.22 KiB
/wp-admin/options-writing.php0.223 s0.208 s-0.015 s2.76 MiB2.83 MiB+ 65.18 KiB
/wp-admin/media-new.php0.294 s0.218 s-0.076 s2.74 MiB2.82 MiB+ 85.39 KiB
/wp-admin/edit-tags.php?taxonomy=category0.184 s0.191 s+0.007 s2.76 MiB2.85 MiB+ 90.56 KiB
/wp-admin/post-new.php?post_type=page0.737 s0.596 s-0.141 s5.21 MiB5.29 MiB+ 88.2 KiB
/wp-admin/options-discussion.php0.450 s0.241 s-0.209 s2.75 MiB2.82 MiB+ 73.71 KiB
/wp-admin/edit-comments.php0.206 s0.221 s+0.015 s2.78 MiB2.85 MiB+ 72.45 KiB
/0.310 s0.201 s-0.109 s3.13 MiB3.2 MiB+ 76.1 KiB
Average 0.408 s0.339 s-0.069 s3.25 MiB3.33 MiB+ 81.22 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,1591,73226
CSS0.2%401
Total 2,163 1,732 27

PHP Code Analysis | More results »

Lines of code 1,787
Total complexity 398
Median class complexity 7.5
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 16
Methods 123
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 23 lines

[11-Aug-2023 08:09:46 UTC] PHP Warning:  copy(/wp-content/mu-plugins/wp-rest-cache.php): Failed to open stream: Permission denied in /wp-admin/includes/class-wp-filesystem-direct.php on line 309
[11-Aug-2023 08:09:46 UTC] PHP Warning:  copy(/wp-content/mu-plugins/wp-rest-cache.php): Failed to open stream: Permission denied in /wp-admin/includes/class-wp-filesystem-direct.php on line 309
[11-Aug-2023 08:09:47 UTC] PHP Warning:  copy(/wp-content/mu-plugins/wp-rest-cache.php): Failed to open stream: Permission denied in /wp-admin/includes/class-wp-filesystem-direct.php on line 309
[11-Aug-2023 08:09:48 UTC] PHP Warning:  copy(/wp-content/mu-plugins/wp-rest-cache.php): Failed to open stream: Permission denied in /wp-admin/includes/class-wp-filesystem-direct.php on line 309
[11-Aug-2023 08:09:49 UTC] PHP Warning:  copy(/wp-content/mu-plugins/wp-rest-cache.php): Failed to open stream: Permission denied in /wp-admin/includes/class-wp-filesystem-direct.php on line 309
[11-Aug-2023 08:09:49 UTC] PHP Warning:  copy(/wp-content/mu-plugins/wp-rest-cache.php): Failed to open stream: Permission denied in /wp-admin/includes/class-wp-filesystem-direct.php on line 309
[11-Aug-2023 08:09:51 UTC] PHP Warning:  copy(/wp-content/mu-plugins/wp-rest-cache.php): Failed to open stream: Permission denied in /wp-admin/includes/class-wp-filesystem-direct.php on line 309
[11-Aug-2023 08:09:51 UTC] PHP Warning:  copy(/wp-content/mu-plugins/wp-rest-cache.php): Failed to open stream: Permission denied in /wp-admin/includes/class-wp-filesystem-direct.php on line 309
[11-Aug-2023 08:09:52 UTC] PHP Warning:  copy(/wp-content/mu-plugins/wp-rest-cache.php): Failed to open stream: Permission denied in /wp-admin/includes/class-wp-filesystem-direct.php on line 309
[11-Aug-2023 08:09:52 UTC] PHP Warning:  copy(/wp-content/mu-plugins/wp-rest-cache.php): Failed to open stream: Permission denied in /wp-admin/includes/class-wp-filesystem-direct.php on line 309
[11-Aug-2023 08:09:54 UTC] PHP Warning:  copy(/wp-content/mu-plugins/wp-rest-cache.php): Failed to open stream: Permission denied in /wp-admin/includes/class-wp-filesystem-direct.php on line 309
[11-Aug-2023 08:09:54 UTC] PHP Warning:  copy(/wp-content/mu-plugins/wp-rest-cache.php): Failed to open stream: Permission denied in /wp-admin/includes/class-wp-filesystem-direct.php on line 309
[11-Aug-2023 08:09:54 UTC] PHP Warning:  copy(/wp-content/mu-plugins/wp-rest-cache.php): Failed to open stream: Permission denied in /wp-admin/includes/class-wp-filesystem-direct.php on line 309
[11-Aug-2023 08:09:55 UTC] PHP Warning:  copy(/wp-content/mu-plugins/wp-rest-cache.php): Failed to open stream: Permission denied in /wp-admin/includes/class-wp-filesystem-direct.php on line 309
[11-Aug-2023 08:09:55 UTC] PHP Warning:  copy(/wp-content/mu-plugins/wp-rest-cache.php): Failed to open stream: Permission denied in /wp-admin/includes/class-wp-filesystem-direct.php on line 309
[11-Aug-2023 08:09:55 UTC] PHP Warning:  copy(/wp-content/mu-plugins/wp-rest-cache.php): Failed to open stream: Permission denied in /wp-admin/includes/class-wp-filesystem-direct.php on line 309
[11-Aug-2023 08:09:55 UTC] PHP Warning:  copy(/wp-content/mu-plugins/wp-rest-cache.php): Failed to open stream: Permission denied in /wp-admin/includes/class-wp-filesystem-direct.php on line 309
[11-Aug-2023 08:09:58 UTC] PHP Warning:  copy(/wp-content/mu-plugins/wp-rest-cache.php): Failed to open stream: Permission denied in /wp-admin/includes/class-wp-filesystem-direct.php on line 309
[11-Aug-2023 08:09:58 UTC] PHP Warning:  copy(/wp-content/mu-plugins/wp-rest-cache.php): Failed to open stream: Permission denied in /wp-admin/includes/class-wp-filesystem-direct.php on line 309
[11-Aug-2023 08:09:58 UTC] PHP Warning:  copy(/wp-content/mu-plugins/wp-rest-cache.php): Failed to open stream: Permission denied in /wp-admin/includes/class-wp-filesystem-direct.php on line 309
[11-Aug-2023 08:09:58 UTC] PHP Warning:  copy(/wp-content/mu-plugins/wp-rest-cache.php): Failed to open stream: Permission denied in /wp-admin/includes/class-wp-filesystem-direct.php on line 309
[11-Aug-2023 08:09:59 UTC] PHP Warning:  copy(/wp-content/mu-plugins/wp-rest-cache.php): Failed to open stream: Permission denied in /wp-admin/includes/class-wp-filesystem-direct.php on line 309
[11-Aug-2023 08:09:59 UTC] PHP Warning:  copy(/wp-content/mu-plugins/wp-rest-cache.php): Failed to open stream: Permission denied in /wp-admin/includes/class-wp-filesystem-direct.php on line 309
See also: All tests for this plugin, How to Hide the "WP REST Cache" Admin Menu