Networking & HTTP·Networking from DNS to production

Performance and CDNs

Reduce latency with caching, compression, HTTP/2 and edge delivery.

Beginner 14 min read Lesson 9 of 300 Challenge included
What you will be able to do
  • Enable Brotli or gzip.
  • Cache static assets at the edge.
  • Use HTTP/2 or HTTP/3.
  • Measure p75 and p95, not only the average.

In plain English

Performance is round trips, payload size and server time. Compression reduces bytes, caching avoids requests, HTTP/2 multiplexes and a CDN serves from a nearby edge. Measure with real timings; do not guess.

terminalTerminal
curl -sS -H 'Accept-Encoding: br,gzip' -D - -o /dev/null https://www.edubyte.tech/ | grep -iE 'content-encoding|cache-control|server|cf-cache-status'
Your turn

Request compressed content

Medium

Write a curl command that advertises Brotli and gzip and prints response headers.

BASH · starter
curl -I
Check your understanding before moving on.
Knowledge checkQuestion 1

Why measure p95 latency?

Select an answer to continue
Study tools

Make it yours.

Keep a private note for this lesson, then turn the key ideas into flashcards you can revisit.

Sign in to save notes and flashcards.Both are private to your account and stay with your progress.
Sign in
Finished reading?

Lock in what you just learned.

Mark this lesson complete to save your place and move one step closer to the certificate.

Next: Security basics
Lesson 9 of 300 · 0% of course