I have a potential case in which I need to host Kirby CMS with global availability. Edit: My goal here is to make sure that the website loads as fast as possible, regardless from where a user is from. My aim is to have a TTFB, on average, below 300ms. In the past I have done this by deploying multiple origin servers behind a central load balancer. Because Kirby uses flat files to store it’s data, I can imagine it’s cumbersome to manage multiple origin servers and instead relying on just a central one.
I believe a single server, with the fast TTFB Kirby provides, could be sufficient. I intend to cache assets (CSS, JS, images etc.) as well as HTML responses in my CDN.
Is there any experience floating around in this community regarding hosting globally? Any other recommendations? Thanks so much!
In hindsight my question could use some clarification.
I am concerned about the website’s performance (TTFB) when, for instance, my site is only has single origin in the EU, and someone from the US visits it. To rephrase my original question: is there any experience in the community regarding hosting globally and maintaining a proper TTFB regardless of where a visitor originates from?
Stumbled across this. If the project does not require dynamic PHP parts, it’s possible to put HTML (not only assets) on a CDN right away. Think static hosting.
Lazy research:
This appears to be well maintained (best of both worlds):
Another approach to export everything as a static file thing: