A request or a response can have additional pieces of medi data set along with the requeste response. Cash control headers tell either the browser or the server how er, specifically, how s or stale the content is and if it should fetch new content before it goes ahead. Cashing means that you are saving the result that of something that has been generated - an image, some h tmel whether it is a list of dogs,. All o those things take work. And that's what cashing is, is that we will put it in a bag somewhere so that we can retrieve it from that bag in the future if it is still fresh.
In this Hasty Treat, Scott and Wes answer a question about caching, cache control headers, an explanation of the fields for caching.
Sentry - Sponsor
If you want to know what’s happening with your code, track errors and monitor performance with Sentry. Sentry’s Application Monitoring platform helps developers see performance issues, fix errors faster, and optimize their code health. Cut your time on error resolution from hours to minutes. It works with any language and integrates with dozens of other services. Syntax listeners new to Sentry can get two months for free by visiting Sentry.io and using the coupon code TASTYTREAT during sign up.
LogRocket - Sponsor
LogRocket lets you replay what users do on your site, helping you reproduce bugs and fix issues faster. It’s an exception tracker, a session re-player and a performance monitor. Get 14 days free at logrocket.com/syntax.
Show Notes
Tweet us your tasty treats