[Insights](/insights/) / [OpenSource Contributions](/insights/opensource/)

# Why your Nuxt/Next/SvelteKit apps still load slowly, and how Wait0 fixes it

Wait0 is an open-source caching proxy that makes SSR apps built with Next.js, Nuxt.js, SvelteKit and similar frameworks dramatically faster by serving ready-to-go HTML from cache instead of rendering every request again. It supports RAM + disk caching, Stale-While-Revalidate, automatic WarmUp, sitemap discovery and a built-in dashboard.

![Ivan Borshchov](https://static.devforth.io/adminusers/avatars/2026/48db9847-d461-40cd-b344-f2bd7b0d98ca-avatar_ivan@devforth.io_f4ce9df9-8363-4314-9345-28753c76a386.jpeg)

Ivan Borshchov

CEO & System Architect @ Devforth

Aug 18, 2026

![Why your Nuxt/Next/SvelteKit apps still load slowly, and how Wait0 fixes it](https://static.devforth.io/posts/logo-svg/2026/5effc3ca-33d6-42b1-838b-c31ec5014708-logo-preview-new.svg)

![Why your Nuxt/Next/SvelteKit apps still load slowly, and how Wait0 fixes it](https://static.devforth.io/posts/logo-svg/2026/5effc3ca-33d6-42b1-838b-c31ec5014708-logo-preview-new.svg)

Modern SSR frameworks like **Next.js, Nuxt.js, and SvelteKit** usually deployued to send every page request to the application Node.js/Bun/Deno server.

That is most obvious default, recomended in docs.

For every request, Node.js runs JavaScript, fetches data, renders components, and turns them into HTML.

Again. And again. And again.

Even when the result barely changed.

## [](#more-servers-dont-make-a-request-faster)More servers don't make a request faster

Most production apps already have some reverse proxy in front of SSR. Nginx/Traefik/Envoy etc. Many setups also run multiple Node.js processes or replicas.

That helps with concurrency, but it doesn't remove the Node.js work.

A request still reaches your SSR server. Your server still renders the page. And if rendering depends on a slow database query or API, the user waits for that too.

A CDN or local statics servers helps enormously with static assets like JavaScript, CSS, fonts, and images.

But the HTML behind a dynamic SSR request often still has to reach your application.

## [](#most-pages-dont-need-to-be-rendered-every-time)Most pages don't need to be rendered every time

A lot of supposedly "dynamic" content changes surprisingly slowly.

Landing pages. Blog posts. Product listings. Contact pages. Documentation.

Even an e-commerce product page can usually survive showing data that is 10 or 30 seconds old.

And if one tiny piece of information really needs to be live, such as an exchange rate or stock count, the client can update it after hydration.

You probably don't need to render the entire page again for every visitor.

## [](#meet-wait0)Meet Wait0

[Wait0](https://github.com/devforth/wait0) is an open-source caching proxy built specifically to cache dynamic content, backed by SSR apps.

It sits in front of your SSR app, remembers rendered responses, and serves ready-to-go HTML directly from cache.

Your Node.js app doesn't even need to wake up.

Wait0 uses memory first for maximum speed and can overflow to disk when needed.

Both configurable in yaml:

```yaml
storage:
  ram:
    max: '100m'
  disk:
    max: '1g'

server:
  # wait0 listens on this port
  port: 8082

  # and proxies to this origin
  origin: 'http://localhost:8080'

rules:
  - match: PathPrefix(/blog)
    priority: 1
    varyByQueryParams: ['page']
    # Stale-after signal: serve cached content, then refresh in background.
    expiration: '1m'

  - match: PathPrefix(/)
    priority: 2
    # Defaults to HTML and XHTML, keeping static assets out of wait0.
    cachableContentType: ['text/html', 'application/xhtml+xml']
    expiration: '1m'
```

It always works as **Stale-While-Revalidate** cache. When cached content becomes stale, the user can still receive the existing response immediately while Wait0 refreshes it in the background.

![First unknown url in Wait0 is proxied directly](https://static.devforth.io/posts/images/2026/adb8dca8-54d1-4f99-86c5-c74f7a6aa4d6-Untitled_Diagram-19_1787144208952.jpg)

First unknown url in Wait0 is proxied directly

![Then Wait0 always serves from own RAM/Disk depending on budget](https://static.devforth.io/posts/images/2026/c0d84308-254b-41aa-abdc-ba9de5be6b89-Untitled_Diagram-20_1787144204224.jpg)

Then Wait0 always serves from own RAM/Disk depending on budget

![Even if page is stale orexpired Wait0 serves fast now, revalidates in background later](https://static.devforth.io/posts/images/2026/dd4e7b03-5d87-4b93-9851-503ac75ca4eb-Untitled_Diagram-21_1787144165244.jpg)

Even if page is stale orexpired Wait0 serves fast now, revalidates in background later

Fast now. Fresh next.

## [](#keep-the-cache-warm)Keep the cache warm

Wait0 can also proactively refresh known URLs.

With **WarmUp**, you define how aggressively Wait0 should refresh pages in the background, so every request for know URLs will be fast and fresh.

![Wait0 WarmUp mode](https://static.devforth.io/posts/images/2026/cdb79cc7-995a-4e96-879b-47277e0ee844-Untitled_Diagram-25_1787144374939.jpg)

Wait0 WarmUp mode

Configured like this:

```yaml
rules:
  - match: PathPrefix(/)
    warmUp:
      pauseBetweenRuns: '10s'
      maxRequestsAtATime: 20
```

You can specify how many requests at a time form Wait0 to origin and how many time to wait between loops.

The **Sitemap module** can discover URLs automatically from your sitemap and keep those pages warm before users even request them.

![Wait0 Sitemap Crawling](https://static.devforth.io/posts/images/2026/ea6549bd-fa34-4a14-9da5-d8c39497a63d-Untitled_Diagram-28_1787144447884.jpg "Wait0 Sitemap Crawling") Config:

```
urlsDiscover:
  # Delay before the first sitemap scan; 0s scans immediately.
  initialDelay: '20s'
  # Rescan interval; omit to scan only once.
  rediscoverEvery: '10m'
  # Sitemap or sitemap-index URLs; origin-relative paths are also accepted.
  sitemaps:
    - 'https://example.com/sitemap.xml'
```

You also get a dashboard with cache usage and SSR statistics.

## [](#drop-it-in-front-of-your-existing-app)Drop it in front of your existing app

You don't need to rewrite your Next.js, Nuxt.js, SvelteKit, or other SSR application.

Put Wait0 in front of it and let your existing stack keep doing what it already does, just much less often.

-   **GitHub:** [github.com/devforth/wait0](https://github.com/devforth/wait0)
-   **DockerHub** [hub.docker.com/r/devforth/wait0](https://hub.docker.com/r/devforth/wait0)

Wait0 is built by [DevForth](https://devforth.io/). We build fast, scalable custom web applications where performance is treated as a core product feature.

[

Back to insights

](/insights)

[](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fdevforth.io%2Finsights%2Fwhy-your-nuxtnextsveltekit-apps-still-load-slowly-and-how-wait0-fixes-it)[](https://bsky.app/intent/compose?text=Why%20your%20Nuxt%2FNext%2FSvelteKit%20apps%20still%20load%20slowly%2C%20and%20how%20Wait0%20fixes%20it%0A%0Ahttps%3A%2F%2Fdevforth.io%2Finsights%2Fwhy-your-nuxtnextsveltekit-apps-still-load-slowly-and-how-wait0-fixes-it)[](https://x.com/intent/tweet?text=Why%20your%20Nuxt%2FNext%2FSvelteKit%20apps%20still%20load%20slowly%2C%20and%20how%20Wait0%20fixes%20it%20by%20%40ivanborshchov%0A%0Ahttps%3A%2F%2Fdevforth.io%2Finsights%2Fwhy-your-nuxtnextsveltekit-apps-still-load-slowly-and-how-wait0-fixes-it)

[

Summarize with AI

](/lab/chat/?prompt=Extract%20main%20points%20from%20post%3A%20https%3A%2F%2Fdevforth.io%2Finsights%2Fwhy-your-nuxtnextsveltekit-apps-still-load-slowly-and-how-wait0-fixes-it)

Table of Contents

-   [More servers don't make a request faster](#more-servers-dont-make-a-request-faster)
-   [Most pages don't need to be rendered every time](#most-pages-dont-need-to-be-rendered-every-time)
-   [Meet Wait0](#meet-wait0)
-   [Keep the cache warm](#keep-the-cache-warm)
-   [Drop it in front of your existing app](#drop-it-in-front-of-your-existing-app)

[](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fdevforth.io%2Finsights%2Fwhy-your-nuxtnextsveltekit-apps-still-load-slowly-and-how-wait0-fixes-it)[](https://bsky.app/intent/compose?text=Why%20your%20Nuxt%2FNext%2FSvelteKit%20apps%20still%20load%20slowly%2C%20and%20how%20Wait0%20fixes%20it%0A%0Ahttps%3A%2F%2Fdevforth.io%2Finsights%2Fwhy-your-nuxtnextsveltekit-apps-still-load-slowly-and-how-wait0-fixes-it)[](https://x.com/intent/tweet?text=Why%20your%20Nuxt%2FNext%2FSvelteKit%20apps%20still%20load%20slowly%2C%20and%20how%20Wait0%20fixes%20it%20by%20%40ivanborshchov%0A%0Ahttps%3A%2F%2Fdevforth.io%2Finsights%2Fwhy-your-nuxtnextsveltekit-apps-still-load-slowly-and-how-wait0-fixes-it)
