From 63ff8297f04dc946557813cc4678e6acfa73d54c Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Fri, 19 Apr 2024 08:53:47 -0500 Subject: [PATCH] Reenable PPR --- next.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/next.config.js b/next.config.js index 829197c8..4520e734 100644 --- a/next.config.js +++ b/next.config.js @@ -35,6 +35,9 @@ const nextConfig = { .concat(createRemotePattern(HOSTNAME_AWS_S3)), minimumCacheTTL: 31536000, }, + ...process.env.NEXT_PUBLIC_STATICALLY_OPTIMIZE === '1' && { + experimental: { ppr: true }, + }, webpack: (config) => { config.optimization ??= {}; if (process.env.NODE_ENV !== 'production') {