First look at ISR with Vercel / SvelteKit

preview_player
Показать описание
Vercel just added major features to their SvelteKit deployments. In this video I setup a very simple app to use ISR and play around with and test it out. I hope you find this video helpful!

My channel membership is live check it out here!:

Membership perk video:

Check out my channel @ConsultingNinja for more videos like these.

What is Incremental Static Regeneration:

SvelteKit / Vercel Updates:
Рекомендации по теме
Комментарии
Автор

I don’t think you understand the purpose of ISR or how to use it. ISR is not meant to reduce cost by caching page data. Vercel does that automatically on their global cdn. ISR is for rebuilding static assets incrementally, as the name suggests. An example would be a blog website, where the content of the blog post is built statically as if it were being pre-rendered. Then, upon making an edit to the content of the blog through an “admin” panel, you could call an endpoint with your vercel ISR token header, and regenerate that specific static page. This is the intended use case of ISR, to give you the benefit of statically generated content and pages without requiring you to manually rebuild your entire site every time a piece of that content is updated in your backend

tomiqft
Автор

Is there any performance concern with too many things being reactive? Like if your user object has 100 fields is it bad to just make them all reactive even if only a few show in that context?

WyzrdCat
Автор

yikes, I already got my sveltekit running on Netlify for months now. Maybe this ISR thingy is just a good-to-have?

wentallout
visit shbcf.ru