monorepo
monorepo copied to clipboard
Setup CDN for blog and GameHub
Why
- CDN often closer to users than load balancers. So that should reduce latency
- CDN can serve public cache (fonts, styles, js, images etc)
- AWS CloudFront should have better network connection with ALB than user (?)
What metrics can we collect to compare?
- Lighthouse performance score.
- TTFB
- RTT (by ping)
read more:
- https://aws.amazon.com/cloudfront/dynamic-content/
- https://www.stormit.cloud/blog/cloudfront-distribution-for-amazon-ec2-alb/