Cache specific requests only – and Gutenberg compatibility
-
I am using WP REST Cache to cache GET requests to the
/wp-json/wp/v2/pages
,/wp-json/wp/v2/posts
and/wp-json/acf/v3/options/
endpoints, and so far that is working well.However, I am transitioning our site to Gutenberg and am finding that Gutenberg’s extensive use of the REST api is causing buggy behavior and unreliability when editing blocks.
As I only need to cache those 3 requests, is there a way implicitly deny all requests except those specified? I tried using the
Global cacheable request headers
settings and specifying custom headers in my app, but am finding that all requests are still cached.Thank you!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Cache specific requests only – and Gutenberg compatibility’ is closed to new replies.