I'm working on a SaaS application that's specifically targeting users in the UK. Since the audience is confined to this region and there's no intent to serve customers outside the UK, I'm wondering if using a CDN like Cloudfront or Cloudflare is still worthwhile. Are there any benefits to using a CDN for a use case like mine?
2 Answers
Absolutely! Using Cloudfront can lower your egress costs compared to straight VPC traffic. And if you use it with a private VPC origin, you'll get a wider range of regional edge locations without the usual overhead.
Even with a localized audience, a CDN can be useful. It helps offload some of the demand from your main server by caching static assets like CSS and JavaScript, which can also lower latency given that CDN providers usually have edge nodes within the UK. However, the decision really hinges on whether the benefits justify the costs. CDNs often come with added features like DDoS protection that might still be relevant for your app.
Right? Plus, you might find that the cost isn't outrageous compared to the performance benefits!