monorepo icon indicating copy to clipboard operation
monorepo copied to clipboard

Setup CDN for blog and GameHub

Open Themezv opened this issue 1 year ago • 0 comments

Why

  1. CDN often closer to users than load balancers. So that should reduce latency
  2. CDN can serve public cache (fonts, styles, js, images etc)
  3. AWS CloudFront should have better network connection with ALB than user (?)

What metrics can we collect to compare?

  1. Lighthouse performance score.
  2. TTFB
  3. RTT (by ping)

read more:

  1. https://aws.amazon.com/cloudfront/dynamic-content/
  2. https://www.stormit.cloud/blog/cloudfront-distribution-for-amazon-ec2-alb/

Themezv avatar Aug 14 '23 22:08 Themezv