WP REST Cache
by Acato 4.9 (42 reviews)

WP REST Cache

Enable caching of the WordPress REST API and auto-flush caches upon wp-admin editing.

WP REST Cache ranks #1,778 among WordPress.org plugins with 10,000+ active installations, is #73 of 1,518 in the Performance category, a 4.9/5 rating from 42 reviews, and was last updated Jul 25, 2026. Data from WordPress.org, refreshed twice daily — see methodology.

Tested up to WP 7 (Current: 7.1)
v2026.3.1 Current Version v2026.3.1
Updated 1 month ago Last Update on 25 Jul, 2026
Refreshed 8 hours ago Last Refreshed on
#73 of 1,518 in Performance Top 5% by installs Downloads -12.3% this week
View on WordPress.org
Rank
#1,778
-2 this week
Active Installs
10K+
-34.9%
KW Avg Position
17.4
0.4 better
Downloads
369K
+221 today
Support Resolved
0%
No change
Rating
98%
Review 4.9 out of 5
4.9 (42 reviews)

Next Milestone 20K

Total Progress 55.4%
10K+ 20K+
358
Ranks to Climb
-
Growth Needed
8,000,000
Active Installs
Pro

Unlock Exact Install Count

See the precise estimated active installs for this plugin, calculated from real-time ranking data.

  • Exact install estimates within tiers
  • Track install growth over time
  • Milestone progress predictions
Upgrade to Pro
Need 4,464 more installs to reach 20K+

Rank Changes

1,687 1,732 1,777 1,822 1,867 08-09-2026 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026
1,771 1,777 1,784 1,790 1,796 31-08-2026 01-09-2026 02-09-2026 03-09-2026 04-09-2026 05-09-2026 06-09-2026 07-09-2026 08-09-2026 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026
Current #1,778
Change
Best #

Upgrade to Pro

Unlock 30-day and 90-day rank history charts with a Pro subscription.

Upgrade Now

Active Installs Growth

Active Installs 0,000,000+
Growth +0.0%
Peak 0,000,000

Downloads Growth

50 100 150 200 250 300 08-09-2026 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026
50 100 150 200 250 300 31-08-2026 01-09-2026 02-09-2026 03-09-2026 04-09-2026 05-09-2026 06-09-2026 07-09-2026 08-09-2026 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026
Downloads
Growth
Peak

Upgrade to Pro

Unlock 30-day, 90-day, and yearly download history charts with a Pro subscription.

Upgrade Now

Reviews & Ratings

4.9
42 reviews
Overall 98%
5
38 (90%)
4
3 (7%)
3
1 (2%)
2
0 (0%)
1
0 (0%)

Support Threads Overview

Resolved
Unresolved
2
Total Threads
0
Resolved
2
Unresolved
0%
Resolution Rate

Security History

Source: WPVulnerability

2 known vulnerabilities on record · 2 in the last 24 months · checked 1 week ago

  1. WP REST Cache [wp-rest-cache] < 2026.1.1

    CVE-2026-25347 · Fixed in v2026.1.1

  2. WP REST Cache [wp-rest-cache] < 2025.1.1

    CVE-2025-52716 · Fixed in v2025.1.1

TL;DR

AI summary of the plugin's readme

This plugin is for WordPress site owners who use the REST API and need faster response times. It solves slow REST API performance by caching endpoint responses and automatically flushing those caches when content is edited.

  • Caches default REST API endpoints
  • Caches custom post type endpoints
  • Caches custom taxonomy endpoints
  • Automated cache flushing on edits
  • Manual flushing of all caches
  • Manual flushing of specific caches
  • Cache retrieval counter
  • Configurable cache timeout

Frequently Asked Questions

Common questions about WP REST Cache

No, the plugin will automatically flush all cache related to the page/post you just edited.
Yes, the plugin will automatically cache the endpoint of custom post types. Unless you have created a custom WP_REST_Controller for it, then it will not automatically cache the endpoint.
Yes, the plugin will automatically cache the endpoint of custom taxonomies. Unless you have created a custom WP_REST_Controller for it, then it will not automatically cache the endpoint.
No, the plugin will not cache your custom endpoint unless you tell it to cache it using our WP REST Cache Pro plugin or the hook wp_rest_cache/allowed_endpoints (See 'Can I register my own endpoint for caching?'). Please keep in mind that once you do so the plugin will not automatically flush the cache of that endpoint if something is edited (it has no way of knowing when to flush the cache). It will however try to determine the relations and for the determined relations it will flush the cache automatically once the relation is edited.
Yes you can! You can use our WP REST Cache Pro plugin to easily register your own endpoints for caching through the wp-admin interface. Or you can do it programmatically by using the hook wp_rest_cache/allowed_endpoints like this: /** * Register the /wp-json/acf/v3/posts endpoint so it will be cached. */ function wprc_add_acf_posts_endpoint( $allowed_endpoints ) { if ( ! isset( $allowed_endpoints[ 'acf/v3' ] ) || ! in_array( 'posts', $allowed_endpoints[ 'acf/v3' ] ) ) { $allowed_endpoints[ 'acf/v3' ][] = 'posts'; } return $allowed_endpoints; } add_filter( 'wp_rest_cache/allowed_endpoints', 'wprc_add_acf_posts_endpoint', 10, 1); Please note: the WP REST Cache plugin will try to detect relations in the cached data to automatically flush the cache when related items are edited, but this detection is not flawless so your caches might not be flushed automatically.
Yes you can! Use the hook wp_rest_cache/allowed_endpoints like this: /** * Unregister the /wp-json/wp/v2/comments endpoint so it will not be cached. */ function wprc_unregister_wp_comments_endpoint( $allowed_endpoints ) { if ( isset( $allowed_endpoints[ 'wp/v2' ] ) && ( $key = array_search( 'comments', $allowed_endpoints[ 'wp/v2' ] ) ) !== false ) { unset( $allowed_endpoints[ 'wp/v2' ][ $key ] ); } return $allowed_endpoints; } add_filter( 'wp_rest_cache/allowed_endpoints', 'wprc_unregister_wp_comments_endpoint', 100, 1);
Yes you can! Add the GET-parameter skip_cache=1 to your call and no caching will be used.
Yes you can! Use the hook wp_rest_cache/determine_object_type like this: function wprc_determine_object_type( $object_type, $cache_key, $data, $uri ) { if ( $object_type !== 'unknown' || strpos( $uri, $your_namespace . '/' . $your_rest_base ) === false ) { return $object_type; } // Do your magic here $object_type = 'website'; // Do your magic here return $object_type; } add_filter( 'wp_rest_cache/determine_object_type', 'wprc_determine_object_type', 10, 4 );
Yes they can! Go to Settings > WP REST Cache, on the Settings tab you can check Enable cache regeneration, this will activate a cron job which will check if there are any expired (or flushed) caches and regenerate them. Using the Regeneration interval you can determine how often this regeneration process should run. The Max number regenerate caches limits the number of regenerated caches per regeneration process, this is so your server doesn't get flooded with the regeneration calls.
Yes you can! Use the hook wp_rest_cache/display_clear_cache_button like this: function wprc_display_clear_cache_button( $show ) { return false; } add_filter('wp_rest_cache/display_clear_cache_button', 'wprc_display_clear_cache_button', 10, 1);

More plugins by Acato

Sign In / Register

You need to sign in or register to use this feature.