# 692: You Need Stale While Revalidate

> Episode of [Syntax - Tasty Web Development Treats](https://podistic.com/podcast/syntax-tasty-web-development-treats.md) · Published November 13, 2023 · Duration 22:28

- **Listen on Podistic:** https://podistic.com/episode/692-you-need-stale-while-revalidate
- **Audio:** https://traffic.megaphone.fm/FSI5057873602.mp3?updated=1749229455 (audio/mpeg)

## About this episode

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
