---
titel_en: Why is my app slow after being idle?
titel_nl: Waarom is mijn app traag na een tijd stilstaan?
categorie: questions
bundels: app, verbruik
geverifieerd_op: 2026-09-22
bewijs: lib/addons.ts, lib/config.ts, content/kb/apps/cold-start.md, content/talen/en.json
zoekwoorden: cold start, koude start, slow, traag, idle, stilstaan, scale to zero, keep warm, altijd aan
---
## en
Because it was switched off. An app on the App plan scales to zero when nobody visits it, and the first visit after a quiet period starts the container again. That takes 10 to 30 seconds (we measured about 22 seconds for a fresh Next app). After that, every request is answered in a fraction of a second until the app goes quiet again. This is the trade-off that keeps the plan at € 15 a month: you use compute only while someone is there.

| Situation | What you see | What to do |
|---|---|---|
| First visit after idle | 10 to 30 seconds of waiting | nothing, or keep the app warm |
| Every visit after that | normal speed | nothing |
| Slow on every request | not a cold start | check the logs in your portal; usually the database or an external call |
| Cold starts hurt your business | customers leave before the page shows | add the "Always on" option for € 9 a month |

"Always on" is an add-on on the App plan; you switch it on under your site's settings in the portal and the container keeps running, so the first visit is as fast as the tenth. On the Platform plan you get the same by giving a container a minimum of one instance, at the rate on [the rates page](/rates).

Two things that make a cold start slower than it needs to be: a heavy start-up (migrations, large imports, warming caches at boot) and a slow health check. Keep the start light and let the app listen on `PORT` as early as it can. Check what happened around a slow request:

```bash
npx github:dorelli-cloud/cli status
```

And the logs and restart button are in your portal, see [Your app in the portal](/docs/apps/portal).

### Not for

A static site on the Website plan never has a cold start; there is no container to start. If a static site is slow, the cause is in the page itself (large images, blocking scripts), not in the hosting.

## nl
Omdat hij uit stond. Een app op de App-bundel schaalt naar nul als niemand hem bezoekt, en het eerste bezoek na een stille periode start de container weer. Dat duurt 10 tot 30 seconden (wij maten ongeveer 22 seconden voor een verse Next-app). Daarna wordt elk verzoek in een fractie van een seconde beantwoord, tot de app weer stil wordt. Dat is de afweging die de bundel op € 15 per maand houdt: je gebruikt alleen rekenkracht als er iemand is.

| Situatie | Wat je ziet | Wat je doet |
|---|---|---|
| Eerste bezoek na stilstand | 10 tot 30 seconden wachten | niets, of de app warm houden |
| Elk bezoek daarna | normale snelheid | niets |
| Traag bij elk verzoek | geen koude start | kijk in de logs in je portaal; meestal de database of een externe aanroep |
| Koude starts kosten je klanten | bezoekers zijn weg voor de pagina er is | zet de optie "Altijd aan" aan voor € 9 per maand |

"Altijd aan" is een add-on op de App-bundel; je zet hem aan onder de instellingen van je site in het portaal en de container blijft draaien, zodat het eerste bezoek net zo snel is als het tiende. Op de Platform-bundel krijg je hetzelfde door een container minimaal één instantie te geven, tegen het tarief op [de tarievenpagina](/rates).

Twee dingen die een koude start trager maken dan nodig: een zware start (migraties, grote imports, caches vullen bij het opstarten) en een trage health check. Hou de start licht en laat de app zo vroeg mogelijk op `PORT` luisteren. Kijk wat er rond een traag verzoek gebeurde:

```bash
npx github:dorelli-cloud/cli status
```

En de logs en de herstartknop staan in je portaal, zie [Je app in het portaal](/docs/apps/portal).

### Niet voor

Een statische site op de Website-bundel heeft nooit een koude start; er is geen container om te starten. Is een statische site traag, dan zit de oorzaak in de pagina zelf (grote afbeeldingen, blokkerende scripts), niet in de hosting.
