Wes Bos on X: "🔥 The stale-while-revalidate header is suuuuuup...

!https://twitter.com/wesbos/status/1717923624559005977

Copy this post
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. 
<p>Here I am using it to instantly deliver an OG image that takes ~8s to generate. <a href=https://t.co/bAiTzSWU9o" loading=“lazy”>
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 t…

X (formerly Twitter) · twitter.com

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.