WP REST Cache 2026.3.1

Does WP REST Cache work with WordPress 7.1 and PHP 8.1.12? 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: 137.93 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 version7.1
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=03370cfc3b
Aspect after-activation
HTTP status 200
Load time 1.032 s
Memory usage 4.4 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.813 s
Memory usage 4.38 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.873 s
Memory usage 4.36 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.574 s
Memory usage 4.36 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.411 s
Memory usage 4.72 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php1.528 s0.780 s-0.748 s4.23 MiB4.37 MiB+ 151.47 KiB
/wp-admin/edit.php0.828 s1.501 s+0.673 s4.28 MiB4.43 MiB+ 150.84 KiB
/wp-admin/post-new.php3.233 s3.420 s+0.187 s6.78 MiB6.93 MiB+ 154.55 KiB
/wp-admin/upload.php1.461 s1.656 s+0.195 s4.25 MiB4.38 MiB+ 138.81 KiB
/wp-admin/options-writing.php0.815 s0.874 s+0.059 s4.22 MiB4.35 MiB+ 129.73 KiB
/wp-admin/media-new.php0.951 s0.674 s-0.277 s4.21 MiB4.35 MiB+ 137.92 KiB
/wp-admin/edit-tags.php?taxonomy=category1.040 s0.989 s-0.051 s4.22 MiB4.36 MiB+ 143.09 KiB
/wp-admin/post-new.php?post_type=page3.628 s3.449 s-0.179 s6.76 MiB6.9 MiB+ 143.86 KiB
/wp-admin/options-discussion.php1.290 s1.174 s-0.116 s4.23 MiB4.35 MiB+ 122.23 KiB
/wp-admin/edit-comments.php0.953 s0.780 s-0.173 s4.24 MiB4.37 MiB+ 125.73 KiB
/0.591 s0.381 s-0.210 s4.6 MiB4.72 MiB+ 118.95 KiB
Average 1.483 s1.425 s-0.058 s4.73 MiB4.86 MiB+ 137.93 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
PHP88.5%2,7572,11827
Markdown6.5%20301
Bourne Shell4.9%153111
CSS0.1%401
Total 3,117 2,129 30

PHP Code Analysis | More results »

Lines of code 2,223
Total complexity 518
Median class complexity 8.0
Median method complexity 3.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 143
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 9

PHP Error Log

The log file is empty.

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