WP REST Cache 2025.1.8

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

Summary

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

Memory usage: 127.07 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.9
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=5e53b6cd5a
Aspect after-activation
HTTP status 200
Load time 0.404 s
Memory usage 3.92 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.293 s
Memory usage 3.86 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.273 s
Memory usage 3.83 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.286 s
Memory usage 3.83 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.189 s
Memory usage 4.19 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.424 s0.360 s-0.064 s3.77 MiB3.9 MiB+ 130.25 KiB
/wp-admin/edit.php0.363 s0.726 s+0.363 s3.78 MiB3.95 MiB+ 178.82 KiB
/wp-admin/post-new.php0.882 s0.942 s+0.060 s6.3 MiB6.49 MiB+ 192.16 KiB
/wp-admin/upload.php0.631 s0.403 s-0.228 s3.74 MiB3.84 MiB+ 106.96 KiB
/wp-admin/options-writing.php0.360 s0.302 s-0.058 s3.71 MiB3.82 MiB+ 110.95 KiB
/wp-admin/media-new.php0.498 s0.342 s-0.156 s3.7 MiB3.82 MiB+ 119.15 KiB
/wp-admin/edit-tags.php?taxonomy=category0.386 s0.315 s-0.071 s3.71 MiB3.84 MiB+ 129.82 KiB
/wp-admin/post-new.php?post_type=page0.697 s0.739 s+0.042 s6.3 MiB6.41 MiB+ 119.85 KiB
/wp-admin/options-discussion.php0.336 s0.360 s+0.024 s3.71 MiB3.82 MiB+ 107.51 KiB
/wp-admin/edit-comments.php0.356 s0.336 s-0.020 s3.73 MiB3.84 MiB+ 107.01 KiB
/0.282 s0.204 s-0.078 s4.1 MiB4.19 MiB+ 95.27 KiB
Average 0.474 s0.457 s-0.017 s4.23 MiB4.36 MiB+ 127.07 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.9%2,3431,73326
Markdown6.9%17401
CSS0.2%401
Total 2,521 1,733 28

PHP Code Analysis | More results »

Lines of code 1,877
Total complexity 438
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 126
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 27 lines

[03-Dec-2025 17:03: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
[03-Dec-2025 17:03: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
[03-Dec-2025 17:03:11 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
[03-Dec-2025 17:03:11 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
[03-Dec-2025 17:03: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
[03-Dec-2025 17:03:13 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
[03-Dec-2025 17:03:14 UTC] PHP Deprecated:  Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /wp-includes/functions.php on line 6131
[03-Dec-2025 17:03:14 UTC] PHP Deprecated:  Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /wp-includes/functions.php on line 6131
[03-Dec-2025 17:03: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
[03-Dec-2025 17:03: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
[03-Dec-2025 17:03: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
[03-Dec-2025 17:03: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
[03-Dec-2025 17:03: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
[03-Dec-2025 17:03: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
[03-Dec-2025 17:03: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
[03-Dec-2025 17:03: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
[03-Dec-2025 17:03:20 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
[03-Dec-2025 17:03:20 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
[03-Dec-2025 17:03:20 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
[03-Dec-2025 17:03:23 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
[03-Dec-2025 17:03:23 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
[03-Dec-2025 17:03:23 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
[03-Dec-2025 17:03:23 UTC] PHP Deprecated:  Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /wp-includes/functions.php on line 6131
[03-Dec-2025 17:03:23 UTC] PHP Deprecated:  Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /wp-includes/functions.php on line 6131
[03-Dec-2025 17:03:24 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
[03-Dec-2025 17:03:24 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
[03-Dec-2025 17:03:25 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