What is CDN
A content delivery network is distributed servers across the globe are called edge servers that caches the content and serve the user from the nearest edge server.
Imagine you have server in India and you have users from all over the world, If you want to improve the loading speed of the site, we need to deploy the servers around the world and this increase your running monthly cost to avoid this better option is using CDN it will take care of this setup at low cost.
When the user try to access the internet content, CDN will redirect the request to the nearest edge server from the user, which reduces the latency duration and improves the loading speed of the content.
Cloudflare is not just an CDN it provides all in one package
- Free SSL
and the they startup plan which is free!!! link
Steps 1: Create cloudflare account
Step 2: Verify email and Add site
Step 3: Choose your plan
as I promised we can proceed with the free plan.
Step 4: Add Ghost CMS in cloudflare
Now enter Ghost CMS URL, cloudflare will scan your domain DNS records automatically and adds all we need to do moving to the next step.
Step 5: Change your nameserver
We need to change domain nameserver to the cloudflare nameserver for giving control over the cloudflare.
Now we updated the nameserver, we can proceed by clicking the done.
We have seen why we need CDN, how it will improve our site performance and security and connected the Ghost CMS site in CND using cloudflare.