#Next.js

3 posts · All tags

  1. Lighthouse Timing Out on a Next.js Site? The Cause Was One Unread Response Body

    My mobile PageSpeed score was 46 and Lighthouse timed out on every run. The main cause was an unread body on anonymous refresh requests. After fixing it and a few other things the score hit 61, and public pages stopped checking login state.

    Engineering ·
    2026.10.01

  2. Speeding Up Rust and Next.js CI on GitHub Actions: From 11.5 Minutes to 1.5 on a 2 vCPU Runner

    After moving the backend to Rust, the PR backend job went from 11.5 minutes to 1.5 and frontend checks from 81 seconds to 30, mostly through test databases, bcrypt, and caches that broke silently.

    Engineering ·
    2026.10.01

  3. Google Only Saw a Spinner on a Static Next.js Export: Multilingual Prerendering and robots.txt Fixes

    My Next.js static export served HTML with nothing but a spinner, and Google only recognized the English version. I switched to URL-based locale prerendering, then fixed two indexing problems caused by robots.txt.

    Engineering ·
    2026.09.21