WP REST Cache 2025.1.7

Does WP REST Cache work with WordPress 6.8.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: 121.41 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.8.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=66fe15c626
Aspect after-activation
HTTP status 200
Load time 0.559 s
Memory usage 3.75 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.173 s
Memory usage 3.64 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.171 s
Memory usage 3.62 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.178 s
Memory usage 3.62 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.221 s
Memory usage 3.53 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.352 s0.330 s-0.022 s3.51 MiB3.63 MiB+ 129.05 KiB
/wp-admin/edit.php0.205 s0.218 s+0.013 s3.57 MiB3.7 MiB+ 126.09 KiB
/wp-admin/post-new.php0.840 s0.656 s-0.184 s6.06 MiB6.25 MiB+ 190.9 KiB
/wp-admin/upload.php0.748 s0.289 s-0.459 s3.52 MiB3.63 MiB+ 105.77 KiB
/wp-admin/options-writing.php0.208 s0.195 s-0.013 s3.5 MiB3.61 MiB+ 109.76 KiB
/wp-admin/media-new.php0.268 s0.325 s+0.057 s3.49 MiB3.61 MiB+ 117.95 KiB
/wp-admin/edit-tags.php?taxonomy=category0.189 s0.208 s+0.019 s3.5 MiB3.63 MiB+ 128.63 KiB
/wp-admin/post-new.php?post_type=page0.744 s0.617 s-0.127 s6.05 MiB6.17 MiB+ 120.94 KiB
/wp-admin/options-discussion.php0.288 s0.422 s+0.134 s3.5 MiB3.61 MiB+ 106.26 KiB
/wp-admin/edit-comments.php0.220 s0.220 s+0.000 s3.52 MiB3.63 MiB+ 105.76 KiB
/0.326 s0.206 s-0.120 s3.43 MiB3.53 MiB+ 94.45 KiB
Average 0.399 s0.335 s-0.064 s3.97 MiB4.09 MiB+ 121.41 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
PHP92.7%2,2501,72826
Markdown7.2%17401
CSS0.2%401
Total 2,428 1,728 28

PHP Code Analysis | More results »

Lines of code 1,864
Total complexity 437
Median class complexity 7.5
Median method complexity 3.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 16
Methods 125
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

[01-Oct-2025 14:58:07 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
[01-Oct-2025 14:58:07 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
[01-Oct-2025 14:58:08 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
[01-Oct-2025 14:58:08 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
[01-Oct-2025 14:58:09 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
[01-Oct-2025 14:58:10 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
[01-Oct-2025 14:58:12 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
[01-Oct-2025 14:58:12 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
[01-Oct-2025 14:58:12 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
[01-Oct-2025 14:58:12 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
[01-Oct-2025 14:58:14 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
[01-Oct-2025 14:58:14 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
[01-Oct-2025 14:58:15 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
[01-Oct-2025 14:58:15 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
[01-Oct-2025 14:58:15 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
[01-Oct-2025 14:58:16 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
[01-Oct-2025 14:58:16 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
[01-Oct-2025 14:58:18 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
[01-Oct-2025 14:58:18 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
[01-Oct-2025 14:58:18 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
[01-Oct-2025 14:58:19 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
[01-Oct-2025 14:58:19 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
[01-Oct-2025 14:58:19 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