Suspense on soft navigation in production with Akamai CDN is blocking rather than showing fallback UI. #79183
Replies: 1 comment 1 reply
-
Hi, In my previous job, we had issues when working with Akamai too. We even ended up having higher TTFB because of the buffering, and when it was finally enabled, we noticed they had turned compression off... All I can say is that, the team that managed Akamai for us at my old company, didn't get this one right the first, nor the second time. I've tried through through the Akamai docs too, to try and figure out what has to be done but no luck. The only thing I could find, that's somewhat relevant, but still doesn't fix the issue, was this document, https://techdocs.akamai.com/edgeworkers/docs/process-response-bodies Btw, have you verified, that requests that hit your origin (behind the CDN), do behave as expected? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
Summary
We run our self-hosted applications on EC2. We use Akamai's CDN.
I expect to see an immediate Suspense fallback when soft navigating, but actually the screen transition does not occur until the asynchronous request inside Suspense completes.
This problem is similar to #54667 .
I tried adding the configuration for Nginx described in the document, but it did not work.
https://nextjs.org/docs/app/guides/self-hosting#streaming-and-suspense
Beta Was this translation helpful? Give feedback.
All reactions