Report this

What is the reason for this report?

NextJS takes long to load on the first visit after deploy

Posted on December 1, 2021

I have NextJS apps deployed on App Platform. Everytime an app is deployed, the first page load of the first visit takes unusually long. Subsequent page loads are fast as they should

The first page load of the second visit is fast too. My problem is about the first visit only

Is it something about caching? Is there any way to work around?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.