WP REST Cache 2024.1.3

Does WP REST Cache work with WordPress 6.6.1 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: 110.9 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.6.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=ee2344e34b
Aspect after-activation
HTTP status 200
Load time 0.360 s
Memory usage 3.73 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.183 s
Memory usage 3.58 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.186 s
Memory usage 3.56 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.169 s
Memory usage 3.56 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.182 s
Memory usage 3.49 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.365 s0.323 s-0.042 s3.47 MiB3.57 MiB+ 103.16 KiB
/wp-admin/edit.php0.223 s0.234 s+0.011 s3.54 MiB3.64 MiB+ 100.89 KiB
/wp-admin/post-new.php0.807 s0.633 s-0.174 s5.75 MiB5.88 MiB+ 127.8 KiB
/wp-admin/upload.php0.669 s0.448 s-0.221 s3.49 MiB3.57 MiB+ 79.94 KiB
/wp-admin/options-writing.php0.213 s0.192 s-0.021 s3.41 MiB3.55 MiB+ 142.74 KiB
/wp-admin/media-new.php0.250 s0.255 s+0.005 s3.4 MiB3.56 MiB+ 165.55 KiB
/wp-admin/edit-tags.php?taxonomy=category0.199 s0.209 s+0.010 s3.47 MiB3.57 MiB+ 106.72 KiB
/wp-admin/post-new.php?post_type=page0.598 s0.601 s+0.003 s5.75 MiB5.87 MiB+ 122.54 KiB
/wp-admin/options-discussion.php0.417 s0.276 s-0.141 s3.41 MiB3.55 MiB+ 144.43 KiB
/wp-admin/edit-comments.php0.313 s0.213 s-0.100 s3.49 MiB3.58 MiB+ 89.35 KiB
/0.308 s0.176 s-0.132 s3.45 MiB3.49 MiB+ 36.8 KiB
Average 0.397 s0.324 s-0.073 s3.88 MiB3.98 MiB+ 110.9 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,1731,71026
CSS0.2%401
Total 2,177 1,710 27

PHP Code Analysis | More results »

Lines of code 1,801
Total complexity 408
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\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

[24-Jul-2024 10:22:33 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
[24-Jul-2024 10:22:33 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
[24-Jul-2024 10:22:34 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
[24-Jul-2024 10:22:34 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
[24-Jul-2024 10:22:35 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
[24-Jul-2024 10:22:36 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
[24-Jul-2024 10:22:38 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
[24-Jul-2024 10:22:38 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
[24-Jul-2024 10:22:38 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
[24-Jul-2024 10:22:38 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
[24-Jul-2024 10:22:41 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
[24-Jul-2024 10:22:41 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
[24-Jul-2024 10:22:42 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
[24-Jul-2024 10:22:42 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
[24-Jul-2024 10:22:42 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
[24-Jul-2024 10:22:43 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
[24-Jul-2024 10:22:43 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
[24-Jul-2024 10:22:45 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
[24-Jul-2024 10:22:45 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
[24-Jul-2024 10:22: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
[24-Jul-2024 10:22: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
[24-Jul-2024 10:22: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
[24-Jul-2024 10:22: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
See also: All tests for this plugin, How to Hide the "WP REST Cache" Admin Menu