Caching and CDNs
Part of the Web course
Your homepage takes 900 milliseconds to build, and it builds the same thing for the ten thousandth visitor as it did for the first. Somewhere in that number is the single largest performance win available to you, and it requires no faster database, no rewrite, and no extra server: just an agreement with the browsers and networks between you and the user about which responses can be reused and for how long.
A request leaves the user's machine and can be answered at any of three points before it ever reaches your server. ...
Want to learn Web Caching and CDNs in a real environment?
Click below, get a fresh Linux box with Web ready to go, and work through Caching and CDNs hands-on with an AI tutor that knows your code.
Start this lessonCaching and CDNsWhat you'll learn
- Browser cache
- Proxy cache
- CDN edge
- Cache-Control
- ETag
- If-None-Match
- Vary
- Cache busting
Read this lesson in your language
All lessons in this course
14 lessons- 1What Is The Web20 min
- 2HTTP vs HTTPS15 min
- 3Request and Response Anatomy30 min
- 4Cookies, Sessions, and Tokens25 min
- 5DNS Explained25 min
- 6TLS and Certificates30 min
- 7CORS30 min
- 8REST API Basics25 min
- 9WebSockets and SSE25 min
- 10Caching and CDNs25 min
- 11Security Headers25 min
- 12Rate Limiting and Throttling20 min
- 13Monitoring and Logging20 min
- 14Capstone: A Tiny Web Server40 min
