Skip to content

[3.x] Warm up SSR module graph on dev server start#3007

Open
pascalbaljet wants to merge 5 commits into3.xfrom
3.x-warmup-ssr-dev
Open

[3.x] Warm up SSR module graph on dev server start#3007
pascalbaljet wants to merge 5 commits into3.xfrom
3.x-warmup-ssr-dev

Conversation

@pascalbaljet
Copy link
Copy Markdown
Member

When the Vite dev server starts, the first SSR request pays the full module transformation cost. This eagerly loads the SSR entry module as soon as the server starts listening, so the module graph is already warm by the time the first real request comes in.

@entity
Copy link
Copy Markdown
Contributor

entity commented Mar 31, 2026

I definitely feel this cold start on deploy, this will make a huge difference 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants