Performance and CDNs
Reduce latency with caching, compression, HTTP/2 and edge delivery.
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.
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
MediumRequest compressed content
Write a curl command that advertises Brotli and gzip and prints response headers.
BASH · starter
curl -ICheck 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 inFinished reading?
Lock in what you just learned.
0%
Mark this lesson complete to save your place and move one step closer to the certificate.