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 'isr'
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?