
Sign up to save your podcasts
Or


In this Hasty Treat, Scott and Wes answer a question about caching, cache control headers, an explanation of the fields for caching.
Sentry - SponsorIf 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 - SponsorLogRocket 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 NotesTime to live calculator
Reminx Conf
Opera
The United States of Insanity - Official Trailer
00:24 Welcome
01:11 Sponsor: Sentry
02:28 Sponsor: LogRocket
03:08 My struggle has been with caching, cache control headers and would love a better explanation on some of the fields?
04:48 What is a header?
06:05 What is caching?
08:21 Time to live (TTL)
09:08 Benefits of a cache
10:03 Specifying how long to cache
11:06 max-age
12:45 stale-while-revalidate
16:17 stale-if-error
16:54 must-revalidate
17:21 private
18:03 immutable
19:29 no-transform
20:45 Cache Control Request Directives
By Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers4.9
977977 ratings
In this Hasty Treat, Scott and Wes answer a question about caching, cache control headers, an explanation of the fields for caching.
Sentry - SponsorIf 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 - SponsorLogRocket 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 NotesTime to live calculator
Reminx Conf
Opera
The United States of Insanity - Official Trailer
00:24 Welcome
01:11 Sponsor: Sentry
02:28 Sponsor: LogRocket
03:08 My struggle has been with caching, cache control headers and would love a better explanation on some of the fields?
04:48 What is a header?
06:05 What is caching?
08:21 Time to live (TTL)
09:08 Benefits of a cache
10:03 Specifying how long to cache
11:06 max-age
12:45 stale-while-revalidate
16:17 stale-if-error
16:54 must-revalidate
17:21 private
18:03 immutable
19:29 no-transform
20:45 Cache Control Request Directives

271 Listeners

383 Listeners

289 Listeners

622 Listeners

585 Listeners

289 Listeners

43 Listeners

215 Listeners

487 Listeners

190 Listeners

207 Listeners

63 Listeners

142 Listeners

60 Listeners

62 Listeners