---
title: "How we built it: incident.io Status Pages"
description: "incident.io built its Status Pages product in three months on Vercel and Next.js, using Incremental Static Regeneration with per-fetch revalidate times (e.g. 30s) so the backend serves only a couple of requests per minute regardless of traffic spikes."
url: "https://swe.quest/articles/how-we-built-it-incident-io-status-pages-37acc4f93c86c23d"
canonical: "https://incident.io/blog/how-we-built-status-pages"
source: "incident.io"
published: "2023-04-19"
difficulty: "medium"
kind: "Case study"
reading_minutes: 8
tags: ["caching","react","frontend","serverless","cdn-edge"]
---

# How we built it: incident.io Status Pages

A post on [incident.io](https://swe.quest/sources/incident-io.md), published 2023-04-19, 8 min read, Case study. Original: [https://incident.io/blog/how-we-built-status-pages](https://incident.io/blog/how-we-built-status-pages)

## Summary

incident.io built its Status Pages product in three months on Vercel and Next.js, using Incremental Static Regeneration with per-fetch revalidate times (e.g. 30s) so the backend serves only a couple of requests per minute regardless of traffic spikes. Pages are pre-built via generateStaticParams, added on demand when created, and refreshed with stale-while-revalidate, while the client uses the SWR library with a 10s refreshInterval, revalidateOnFocus and server-rendered fallbackData for live updates. Server rendering is pinned to Vercel's Dublin region next to the API, and live-reload requests are proxied through Next rewrites. The main pain point was hydration mismatches from relative times and locale/time-zone formatting, handled with explicit luxon zones/locales and lint rules against unguarded "now".

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Caching](https://swe.quest/tags/caching.md) (Backend & APIs)
- [React](https://swe.quest/tags/react.md) (Web & mobile)
- [Frontend](https://swe.quest/tags/frontend.md) (Web & mobile)
- [Serverless](https://swe.quest/tags/serverless.md) (Backend & APIs)
- [CDN & edge](https://swe.quest/tags/cdn-edge.md) (Infrastructure)

## Prerequisites

- Next.js basics ([easy posts on React](https://swe.quest/tags/react.md?difficulty=easy))
- React Server Components ([easy posts on React](https://swe.quest/tags/react.md?difficulty=easy))
- HTTP caching ([easy posts on Caching](https://swe.quest/tags/caching.md?difficulty=easy))

## Keywords

Vercel, Next.js, Incremental Static Regeneration, SWR, React Server Components, luxon, stale-while-revalidate

## Related posts

- [Going multi-cloud with an in-housed status page](https://swe.quest/articles/going-multi-cloud-with-an-in-housed-status-page-2873f2e1231f7f6e.md): Railway · 2026-06-01 · Medium · 5 min read · CDN & edge, Resilience, Caching, Incidents & postmortems, SRE
  Railway built its own status page, hosted on Railway itself, behind a Cloudflare Worker so the public page survives an origin outage.
- [From latency to instant: Modernizing GitHub Issues navigation performance](https://swe.quest/articles/from-latency-to-instant-modernizing-github-issues-navigation-performance-d76fe4f2daa6064a.md): GitHub Engineering · 2026-05-14 · Medium · 13 min read · Web performance, Caching, Frontend, Local-first & sync, Browsers
  GitHub made Issues navigation feel instant by moving to a local-first, stale-while-revalidate model: render issue pages from client-side data first, then revalidate in the background.
- [Remixing Shopify's Admin: How We Made It 30% Faster and AI-Ready](https://swe.quest/articles/remixing-shopify-s-admin-how-we-made-it-30-faster-and-ai-ready-996b243df73e0345.md): Shopify Engineering · 2025-06-30 · Medium · 7 min read · Web performance, React, Frontend, Refactoring & migrations, AI agents
  Shopify migrated its Admin (67 million daily page views, 101 teams, ~350 PRs merged daily, 3M+ lines of TypeScript) to Remix in SPA mode with Vite.
- [Integrating the SWR library with a type-safe API client](https://swe.quest/articles/integrating-the-swr-library-with-a-type-safe-api-client-1c04e2ee619b8cd1.md): incident.io · 2023-08-23 · Medium · 9 min read · TypeScript, React, Caching, Frontend, Type systems
  incident.io replaced its homegrown useFetchData hook with SWR (stale-while-revalidate) in its React dashboard, while keeping the type safety of its OpenAPI-generated TypeScript client.
- [Server rendering benchmarks: Railway vs Cloudflare vs Vercel](https://swe.quest/articles/server-rendering-benchmarks-railway-vs-cloudflare-vs-vercel-d854a3e98b5ee41e.md): Railway · 2025-10-20 · Medium · 10 min read · Performance engineering, Serverless, JavaScript, Cloud platforms
  Running Theo Browne's SSR benchmark suite (400 requests, 20 concurrent connections, from an EC2 client in us-west-1) against Railway with 10 replicas, Cloudflare Workers and Vercel Functions gave mixed results.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
