Hey there,
My application has an endpoint that is using cloudflare caching system. We were using an “transformation rule” to concatenate the request accept-language with the other query strings, as we can see in this post:
For the sake of simplicity, I will create an example here:
Endpoint: https://example.com/api?id=xxxxx-xxxx-xxxxx-xxxxx
After creating the “Transform rule”: https://example.com/api?id=xxxxx-xxxx-xxxxx-xxxxx&language=en
The problem is: we are not able to purge the cache of this URL. We have no specific “page rule” for caching this path and the cache is working (it is intentional), but we are not able to purge this cache. Here are some examples of URLs that we have tried to purge:
https://example.com/api?id=xxxxx-xxxx-xxxxx-xxxxx&language=en
https://example.com/api/?id=xxxxx-xxxx-xxxxx-xxxxx&language=en
https://example.com/api?id=xxxxx-xxxx-xxxxx-xxxxx&*
Is there something I am doing wrong?