Загрузка видео...

Не удалось загрузить видео

На главную

Caching in Next.js 13

77,354 просмотров • 2 лет назад •via X (Twitter)

Комментарии: 10

Фото профиля David
David2 лет назад

What would you do in case of a headless CMS? We can safely assume that it won't be changed often (weeks or months bween updates) but if it happens, it needs to be updated instantly. Or better stick to using webhooks?

Фото профиля Alex Sidorenko
Alex Sidorenko2 лет назад

In this case, I'd keep it static and redeploy after content updates. Redeployment invalidates the cache. Alternatively, we can set an API route that revalidates a particular tag or path and trigger it after every content update.

Фото профиля Rodrigo González
Rodrigo González2 лет назад

What am I doing wrong?

Фото профиля Alex Sidorenko
Alex Sidorenko2 лет назад

Try deploying it to see how it works with the actual cache.

Фото профиля DegenSOL
DegenSOL2 лет назад

Awesome features. Loved it

Фото профиля Christoffer Bjelke
Christoffer Bjelke2 лет назад

Banger video as always Alex!

Фото профиля Arthur
Arthur2 лет назад

@jonathan_wilke didn’t you had some caching trouble ? Maybe here is something helpful

Фото профиля Lucas Rantzau
Lucas Rantzau2 лет назад

Loving this content. Removing complexity and making it digestible and understandable.

Фото профиля Kavin Desi Valli
Kavin Desi Valli2 лет назад

probably the easiest to understand caching explanation for nextjs i've seen

Фото профиля Abundance Ken-Dickson
Abundance Ken-Dickson2 лет назад

straight to the point and informative!

Похожие видео