← The Web, Actually
Lesson 3 · globe The Web, Actually
Headers, Cookies, and Caching
Use headers to control auth, content type, and caching.
Before you start
Headers are the metadata around the body. A handful earn their keep every day: Authorization, Content-Type, Cache-Control, and Set-Cookie. Caching in particular is where you get most of your performance for free — and most of your confusing bugs.
5 exercises·up to 72 XP·5/5 hearts