Skip to content
Dashboard

New features for SvelteKit: Optimize your application with ease

Sr. Content Engineer

Framework-defined infrastructure at Vercel brings previously Next.js-only features to SvelteKit.

Link to headingSvelteKit Adapters

An example SvelteKit deployment to Vercel.An example SvelteKit deployment to Vercel.
An example SvelteKit deployment to Vercel.

Link to headingPer-route data fetching and rendering

SvelteKit's new deployment configuration gives you full control over how your routes are deployed to Vercel as functions. Learn how to deploy some parts of your app as Edge functions, some as serverless functions, and some utilizing ISR.

Link to headingFunction runtime choices

Link to headingIncremental Static Regeneration

ISR offers significant gains, both in build times (DevEx) and static generation (UX).ISR offers significant gains, both in build times (DevEx) and static generation (UX).
ISR offers significant gains, both in build times (DevEx) and static generation (UX).
The result of ISR, for the end-user, feels as fast as static-site generation, served on Vercel's Edge Network.The result of ISR, for the end-user, feels as fast as static-site generation, served on Vercel's Edge Network.
The result of ISR, for the end-user, feels as fast as static-site generation, served on Vercel's Edge Network.
blog/[slug]/+page.server.js
export const config = {
isr: {
// Expiration time (in seconds) before the cached asset
// will be regenerated by invoking the Serverless Function.
// Setting the value to `false` means it will never expire.
expiration: 60,
};

Setting up ISR also occurs within the config object of a `page.server.js` file.

Link to headingOther Vercel gains

Vercel Developer Advocate Steph Dietz explains how to optimize web forms with Vercel KV and SvelteKit form actions.

Link to headingBringing it all together

Figuring out if SvelteKit works for you?

Reach out to us with your team's unique needs.

Contact Us