Weird aggressive caching of Rest API endpoint
-
I am using WordPress as Headless, and only using my own custom Rest API to access/modify custom DB tables. Problem is, I can find some weird level of caching from Redis, like Redis seems to cache with key name of “site_name_page”, and that key has the full cached response of my Rest API. I am already using wp_cache_* functions to set/delete at appropriate events, but this cache is being served way before that. So basically, the full Rest API is being cached by Redis, and its not from my wp_cache_* functions, its way before that. My question is, is there any way to disable this auto caching for my endpoints?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.