next.js
6797a087 - Fix: Do not force BLOCKING_STATIC_RENDER for DOM bots (#82427)

Commit
185 days ago
Fix: Do not force BLOCKING_STATIC_RENDER for DOM bots (#82427) The issue was that DOM bots with PPR-enabled routes were being forced to use BLOCKING_STATIC_RENDER mode, which prevented them from using the fallback cache lookup mechanism. This caused them to generate new content with isRevalidating: true, which blocks postponed data and triggers the Math.random() static generation bailout error. For HTML bots, they keep using BLOCKING_STATIC_RENDER because SSG was turned off for them and won't see the SSG bailout error. For DOM bots, they should behave like a normal user. Fixes NAR-273
Author
Parents
Loading