Cloudflare is a CDN service suited to small projects that need an affordable way to accelerate and protect web API traffic. Its unrestricted free plan and two free SSL/TLS certificates make it a practical starting point. section 12.1.3
A Cloudflare deployment separates traffic handling from the server hosting the API:
- The edge certificate is generated automatically and lets the CDN serve content over HTTPS. section 12.1.3
- The origin certificate can be generated and installed on the web server to encrypt the connection between the CDN and the origin. section 12.1.3
- Setup begins by creating an account, selecting Add Site, and adding the domain; Cloudflare does not accept a subdomain directly. section 12.1.3
Use the edge-origin diagram to distinguish the CDN-facing edge from the server hosting the web API. section 12.1.3
