Hi,
We are an entertainment delivering company. We serve videos and many more to our customers.
We recently started cashing our APIs using Cloudflare by adding page rules.
We added cashing for 1 day for some of our APIs.
I just want to know what is happening when 1 day time period is getting over? Is Cloudflare requesting our APIs to get the details and store them in cash, or is it waiting for any users to request that API, and then Cloudflare is getting the response, and then is it cashing or what?
I want to know If the API is not accessed by anyone(unsed API), but the page rule for that API in cashing is set to 1 day then will Cloudflare still access to or origin server every 1 day to get them and store it in cash or it will not?
The Edge Cache TTL is set to 1 day
Because we are thing that every time the cash is expiring we are getting some huge spikes to our origin server, and in few min it is again becoming stable.
And we are also thinking that cloud-flare is also trying to access multiple times from various edge location.
Can any one have any Idea how Cloudflare use to Cache and what happen when it expire then how they get back the Cache