How to know for how much time cloudflare is caching the page via chrome browser?

What is the name of the domain?

NA

What is the error number?

NA

What is the error message?

NA

What is the issue you’re encountering

how to know for how much time cloudflare is caching the page like 5 min/2hrs etc via chrome browser?

What steps have you taken to resolve the issue?

NA

What are the steps to reproduce the issue?

NA

Hi @infrateam,

how to know for how much time cloudflare is caching

I believe you are referring to Edge Cache TTL.

Edge Cache TTL (Time to Live) specifies the maximum time to cache a resource in the Cloudflare global network. Edge Cache TTL is not visible in response headers and the minimum Edge Cache TTL depends on plan type.

like 5 min/2hrs etc via chrome browser?

I believe here you are referring to Browser Cache TTL.

The Browser Cache TTL sets the expiration for resources cached in a visitor’s browser. By default, Cloudflare honors the cache expiration set in your Expires and Cache-Control headers but overrides those headers if:

  • The value of the Expires or Cache-Control header from the origin web server is less than the Browser Cache TTL Cloudflare setting.
  • The origin web server does not send a Cache-Control or an Expires header.

Unless specifically set in a cache rule, Cloudflare does not override or insert Cache-Control headers if you set Browser Cache TTL to Respect Existing Headers.

You may learn more about cache here.

@malmeida ,Thanks for the input. Actually i have website https://epaper.telegraphindia.com/ i want to check what is caching time on this as it is frequently causing the up/down/slowness which lasted for 2-3 min only but during the same time my origin server is responding properly.

I want to diagnosis issue and also want to implment the caching on this as we made the changes only once in a day which is 8-9 AM IST rest of the day content doesn’t change.

  1. if the content is change is there any mechanism or API which can purge the content/url without login to dashboard and can be given to developer.
  2. Also want to implement the edge caching for this website like 6 or 12 hrs kind of thing.

Kindly help here as i am new here.