---
title: "Wes Bos on X: \"🔥 The stale-while-revalidate header is suuuuuup..."
description: "!https://twitter.com/wesbos/status/1717923624559005977"
date: 2023-10-28
published: true
tags:
  - dev
  - og
  - seo
  - thought
  - webdev
template: link
---


<div class="embed-card embed-card-external">
  <a href="https://twitter.com/wesbos/status/1717923624559005977" class="embed-card-link" target="_blank" rel="noopener noreferrer">
    <div class="embed-card-image">
      <img src="https://pbs.twimg.com/ext_tw_video_thumb/1717917863988629504/pu/img/iaEbJmWg5LSOgcpU.jpg" alt="Wes Bos (@wesbos) on X — 🔥 The stale-while-revalidate header is suuuuuuper handy for striking a balance between fast loads and and frequently changed content. 

Here I am using it to instantly deliver an OG image that takes ~8s to generate." loading="lazy">
    </div>
    <div class="embed-card-content">
      <div class="embed-card-title">Wes Bos (@wesbos) on X</div>
      <div class="embed-card-description">🔥 The stale-while-revalidate header is suuuuuuper handy for striking a balance between fast loads and and frequently changed content. 

Here I am using it to instantly deliver an OG image that t...</div>
      <div class="embed-card-meta">X (formerly Twitter) &middot; twitter.com</div>
    </div>
  </a>
</div>


Wes has some of the coolest OG images i've ever seen.  Here he talks about how to enable cache configuration so that its constantly updating the cache without the user waiting for the image to be created.
