meta_pixel
Tapesearch Logo
Log in
Syntax - Tasty Web Development Treats

692: You Need Stale While Revalidate

Syntax - Tasty Web Development Treats

Wes Bos

Tech News, Technology, News

4.91.2K Ratings

🗓️ 13 November 2023

⏱️ 22 minutes

🧾️ Download transcript

Summary

In this episode of Syntax, Wes and Scott explain what Stale While Revalidate is, why you should use it, and explore whether you should use it all the time on all the things. Show Notes 00:25 Welcome 01:05 Syntax Brought to you by Sentry 01:34 What is Stale While Revalidate? 03:13 Why is caching important? Max age calculator Can I Use 05:09 Where does a cache live? 07:05 Limit how often an API is being hit 11:51 What about Stale while Revalidate? 18:30 Why wouldn’t you just use Stale While Invalidate on everything? Syntax 484: Cache Control Headers Explained Hit us up on Socials! Syntax: X Instagram Tiktok LinkedIn Threads Wes: X Instagram Tiktok LinkedIn Threads Scott: X Instagram Tiktok LinkedIn Threads

Transcript

Click on a timestamp to play from that location

0:00.0

Monday, Monday, Monday, Monday, open wide Dev fans.

0:04.0

Get ready to stuff your face with JavaScript,

0:07.0

CSS, node modules, barbecue tips, get workflows,

0:10.0

break dancing, soft skills, web development,

0:12.0

the hastyest, the craziest, the craziest, the tastiest, web development

0:16.4

treats.

0:17.4

Coming in hot, here is Wes, Barracuda, Bars, and Scott, El Tor Toroloko Tolinsky.

0:25.0

Welcome to Syntex.

0:28.0

On this Monday, hasty treat, we're going to be serving you up some stale takes and then re-validating them.

0:36.7

So we're going to be talking about stale while re-validate, which is a caching technique that

0:42.4

is really pretty simple to add to your projects to really

0:46.4

improve overall speed and really make life easier on your when you're trying to

0:52.4

get some caching down that, well, still

0:56.4

requires information to be up to date.

0:59.6

My name is Scott Tolinsky.

1:00.8

I'm a developer from Denver.

1:02.6

With me as always is West Boss.

1:04.9

But before we get into the contents of this episode,

1:09.4

if you're, you know, caching anything,

1:12.0

you gotta make sure you have some air and

1:13.2

exception handling traffic on your your services because hey sometimes that cash

1:17.6

can get in the way for some reason it can cause some problems you might need to

...

Please login to see the full transcript.

Disclaimer: The podcast and artwork embedded on this page are from Wes Bos, and are the property of its owner and not affiliated with or endorsed by Tapesearch.

Generated transcripts are the property of Wes Bos and are distributed freely under the Fair Use doctrine. Transcripts generated by Tapesearch are not guaranteed to be accurate.

Copyright © Tapesearch 2026.