How to get maximum worldwide performance of html page?

There are a bunch of features in Cloudflare, but it’s not clear how to get maximum performance. Please give me an advice.

I have HTML page with css/js, no backend. I need it to load as fast as possible in all countries. I guess it should be:

  1. + Custom rule: Cache Level: Cache Everything
  2. Argo?
  3. TCP Turbo with Pro?
  4. Load Balancing for geo DNS?

If it’s purely static, then a simple “Cache Everything” rule should get you almost everything you want. It’ll be cached globally, and Cloudflare already handles DNS and things globally.

If you wanted some extra oomph, Argo could aid in certain distant regions for the initial hit to your server, but after it’s cached, it’ll have very little extra impact.

If it’s purely a static site though, you should consider just hosting it on Pages. Then you won’t have to worry about anything and Cloudflare will serve your site globally, with the all the best pre-configured settings, for free.


Thanks for the advice.

I already have “cache everything” turned on for * URLs. But analytics shows only ±30% of traffic is cached.

It’s possible your site has low traffic and items are being evicted from the cache. Or from varying regions. You may also need to respond with a cache-control header, or configure the edge/browser cache TTLs. If you can share an example URL that isn’t cached, I’d be happy to take a look.

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