we have a very strange issue with Cloudflare Caching. We are using Angular Apollo but we can reproduce it in Insomnia (or Postman) as well.
Steps for reproduction:
Query a resource that not exists: get an empty response back
Create the resource
Query the resource again and you will get the empty response back again
This does not happen if you update an resource. In this case the cache is invalidated and you will get the updated resource back.
Observations:
We can get the content if we change something on the GraphQl Query and therefore Cloudflare does issue an new X-Request-Id. But as long the X-Request-Id stays the same there is no way to get content.
Do you handle caching of not existing resources differently?
The page is already there in German. When we query the page in English (before creating the locales) the API responded with an empty array. Even after we have created the English locale.