How to setup CDN to website in cloudflare

How to setup CDN to website in Cloudflare

Cloudflare acts as a Pull CDN, like most others, so when a file is requested for the first time, it is loaded in the cache. Subsequent requests will come from the cache until that item expires or is evicted for lack of use until the next request. You’re certainly welcome to use any other service that suits you best.

Cloudflare only caches resources within the Cloudflare data center that serve the request. Cloudflare does not cache off-site or third-party resources, such as Facebook or Flickr, or content hosted on unproxied (grey-clouded) DNS records.

Cloudflare does not require an extra CDN subdomain or hostname, and you do not need to change your URLs.

There is a slight difference, may I suggest reading below article for more useful information about and better Understanding of how Cloudflare’s CDN works so far:

They are different kinds of CDNs.

You can either:

  1. Use Cloudflare Pages and Workers to serve HTML and non-html content (images…) except videos (you’d have to use Cloudflare Spectrum for that, if so).
  2. Use BackBlaze B2 Storage or BunnyCDN or even KeyCDN
  3. You’d have to create a sub-domain and add a DNS hostname for it, if so

Thanks for your Support.
Can you please share me some more information on scratch…
Setup cdn and name servers

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.