Are locations limited?

Hello,
To which locations do Pro/Free plan have access to? In Europe, our site is loading within 1 second, whereas in Australia it takes good 7-8 seconds.
Is it because we don’t have access to Australia location?
My logic could be wrong, but I actually thought that by having a fully static page ( svg’s, javascript and HTML), we would have blazing speed in most locations.

You can see which datacenter you’re going through by connecting to:
example.com/cdn-cgi/trace

Remember that, by default, Cloudflare doesn’t cache HTML, so long-distance connections still have to hit your origin server to get that content. SVGs and Javascript should all show a cf-cache-status of HIT upon repeat visits.

2 Likes

Ohh… I thought the whole page was cached so that technically, webrequests going to that specific page would not require to reach my backend at all.
This explains a lot why it takes longer in Australia then.
Thank you for your help!

1 Like

You can enable caching of the HTMl by using the Cache-Everything rule in the page rules. Also make sure to set you Cache-Control headers.

1 Like

Hello Matteo,
Do you have any quick link to set up the Cache-Control headers on the backend? We’re using NGINX right now.
Thank you.

You need to set them up as normal headers in nginx, the best guides I found to get you started are (one is a competing service in some way, but who cares :slight_smile:):

2 Likes

This topic was automatically closed after 30 days. New replies are no longer allowed.