Loading video...

Video Failed to Load

Go Home

77,354 views • 2 years ago •via X (Twitter)

10 Comments

David's profile picture
David2 years ago

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's profile picture
Alex Sidorenko2 years ago

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's profile picture
Rodrigo González2 years ago

What am I doing wrong?

Alex Sidorenko's profile picture
Alex Sidorenko2 years ago

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

DegenSOL's profile picture
DegenSOL2 years ago

Awesome features. Loved it

Christoffer Bjelke's profile picture
Christoffer Bjelke2 years ago

Banger video as always Alex!

Arthur's profile picture
Arthur2 years ago

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

Lucas Rantzau's profile picture
Lucas Rantzau2 years ago

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

Kavin Desi Valli's profile picture
Kavin Desi Valli2 years ago

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

Abundance Ken-Dickson's profile picture
Abundance Ken-Dickson2 years ago

straight to the point and informative!

Related Videos