Loading video...
Video Failed to Load
Two ways to handle a blocking component in Next.js: • Cache: so it can be prerendered with the rest of the page. • Stream: so the rest of the page doesn't have to wait for it.
62,201 views • 8 months ago •via X (Twitter)
23 Comments

these videos are so good

Learn more about this pattern:

Cache for predictable data, stream for unpredictable latency. Simple mental model, powerful outcome. Next.js makes performance decisions explicit instead of accidental.

first ASMR Next.js video

Cache + Stream is the combo most teams sleep on. Next.js npm momentum has been relentless, we track dev tool adoption across 17 sources and Next consistently outpaces every other React framework by a wide margin. Not slowing down.

The cache vs stream decision is the new frontend architecture interview question. "When would you cache?" "When would you stream?" Half the devs still reach for useEffect by default.

Make more videos like this, super clear! Literally so good

Really clear way to think about performance trade offs in Next.js

Both solid. Streaming also helps with Core Web Vitals scores, worth noting.

suspense is life saver

What about connection? 😏

Impresionante la claridad y calidad del video con ejemplos.

made by @delba_oliveira right ?

Make more video like this please. It's so good and clear.

bro that's solid, both options have their perks for sure! keep grinding 💪

This video is fantastic! Keep creating content like this. I wasn’t aware of the cache keyword before, but I’ve always relied on the suspense with fallback approach.

amazing 🤩

what is this cool ide setup ?

Just put it in a skill bro.

Make more videos on cache components.

ecommerce should not be your only focus

remember this ?

Third way: Delete the component and tell your PM it was a 'design choice.' Senior dev move.

![Emotion Release❤️A Rosy Rest The live CG of the unbloomed ⭐️5 [A Rosy Rest] Ritsu Sakuma is released! You'll see it during story-reading; if you have this card, you may set the Emotion as your home page background. Please refer to the in-game notice!](https://image.24vids.com/tw-2009950849909272594/media/G99i94ZbgAAK5z1.jpg)
