Vercel ISR page isn't pre-rendered

I expect an ISR page to be pre-rendered at build time, so that it loads instantly on the first visit.

But it's not the case, the first load is slow. To reproduce the issue:

  1. First redeploy the app to reset the ISR cache : (wait ~20s for Vercel deployment to complete)
  2. Then visit the ISR page. It takes some time to load the first time.
  3. Subsequent visits are fast as the ISR page is cached.

Source code