Issue with purge cache by URL API

having the following issue, we have an API that has cache activated, this works normally, i can see correct headers returned, MISS, HIT, EXPIRED values, the problem is that i'm not able to purge the cache via API or UI, this is important for us once the content is changed we need to inmediate purge.

  • browser cache is disabled in cloudflare as need to purge via API, as it can be seen in the no-store added by cloudflare
attached the request of request

we also tried adding the accept encoding, as cloudflare ads that Vary to the response

{
  "files": [
    {
      "url": "https://discover.gopersonal.ai/public/cached-content/6750d074dd9de458a1abb6ea/update-cart"
    },
    {
      "url": "https://discover.gopersonal.ai/public/cached-content/6750d074dd9de458a1abb6ea/update-cart",
      "headers": {
        "Accept-Encoding": "br"
      }
    },
    {
      "url": "https://discover.gopersonal.ai/public/cached-content/6750d074dd9de458a1abb6ea/update-cart",
      "headers": {
        "Accept-Encoding": "gzip"
      }
    },
    {
      "url": "https://discover.gopersonal.ai/public/cached-content/6750d074dd9de458a1abb6ea/update-cart",
      "headers": {
        "Accept-Encoding": "deflate"
      }
    },
    {
      "url": "https://discover.gopersonal.ai/public/cached-content/6750d074dd9de458a1abb6ea/update-cart",
      "headers": {
        "Accept-Encoding": "*"
      }
    }
  ]
}


also not working

after hitting the purge request, content is still returned as MISS
Was this page helpful?