• Resolved Rajin Sharwar

    (@rajinsharwar)


    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)
  • Plugin Author Till Krüss

    (@tillkruess)

    Redis Object Cache won’t cache your endpoints and disabling the drop-in for specific URLs will lead to data inconsistencies. You’d need to figure why your cache isn’t being updated.

    Thread Starter Rajin Sharwar

    (@rajinsharwar)

    Yeah never mind, I found it was due to the srcache full page caching module I was using. Thanks anyway.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.