Backend & Infrastructure
Why an API Outage Replaced the Home Page With an Empty List: catch { return [] }
Returning an empty list on API failure overwrote healthy cached pages. A reproduction exposed what happened during revalidation.
Posts tagged 'nextjs'
Returning an empty list on API failure overwrote healthy cached pages. A reproduction exposed what happened during revalidation.
A deleted category page stayed up. I added an endpoint that publishing tools could call to invalidate the cache.
Pages loaded with the API stopped after I enabled ISR. What was cached, and what did that check actually establish?
Flyway never ran, npm failed inside Docker, and cache writes failed on permissions. Local tests missed each problem.
How a WordPress publishing experiment became a Spring Boot and Next.js blog running on one Mac at home.