正在加载视频...

视频加载失败

Default caching in Next 14 vs Next 15

119,220 次观看 • 1 年前 •via X (Twitter)

10 条评论

Rasmus Hjulskov 的头像
Rasmus Hjulskov1 年前

More dogs. Check 👍

Alex Sidorenko 的头像
Alex Sidorenko1 年前

My favorite API

Kain 的头像
Kain1 年前

Why not use <Image>? and does it also works with this cache?

Alex Sidorenko 的头像
Alex Sidorenko1 年前

No reason not to use <Image>. I'm just minimizing the code for the demo to make it less visually overwhelming. The Image works as before.

Koka 的头像
Koka1 年前

What does becoming static at build means? Is it complex to switch from next14 to 15 for our existing app?

Augusto Ponce 的头像
Augusto Ponce1 年前

Do you know if cache (unstable_cache) from next will be available? That'd be a solution to supabase db fetching

Alex Sidorenko 的头像
Alex Sidorenko1 年前

I'm not sure when it becomes stable. What problems do you have with supabase fetching?

mBAm 的头像
mBAm1 年前

thank you and the next team for all the work you do. but that's works only on dev mode, the issue persist (next 15) after i build the app , I need to add // export const dynamic = "force-dynamic" // same as next-14

Alex Sidorenko 的头像
Alex Sidorenko1 年前

By default, Next tries to generate routes statically during the build time. It's a design decision- "static by default, dynamic on demand" Previously, it could be hard to tell if the page was static or dynamic with the app router. Now we have an indicator.

aiu 的头像
aiu1 年前

Wow Amazing. I was really hopping

相关视频