Menu

Show a “waking up” page instead of a timeout during a cold start: Render, Railway and Fly.io
📰

Show a “waking up” page instead of a timeout during a cold start: Render, Railway and Fly.io

DEV Community: serverless·Hüseyin Poyraz Küçükarslan·about 9 hours ago
#hYCQjodU
#devtoserverless#devto#dev#gregale#waking
Long article (859 words) — no AI summary yet.
Reading 0:00
15s threshold

Originally published on gregale.dev . I build Gregale, so read this as a vendor's page. Competitor details come from each vendor's own docs, linked in the post. This post was written with AI assistance.

On Gregale you don't build a "waking up" page: when a browser opens a page on an app that is still waking after 1.5 seconds, Gregale's edge answers with a "Waking up your app…" page that turns into your app as soon as it is ready. API clients never get that page; their requests wait for the app as usual. The waking page is generally available on every plan, Free included, and needs no setting.

What a visitor sees

A browser opens your app's URL while the app is parked.

Gregale starts waking the app. Most wakes restore a memory snapshot and answer within a fraction of a second, so the visitor sees your page directly.

If the app is still waking after 1.5 seconds, the browser gets a short page saying the app is waking up.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.