Replies: 2 comments 3 replies
-
|
@cbou did you ever solve this? my team has migrated to the app router, and we are running into the same issue. |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
Also running into issues where when running with Azure FrontDoor (Caching On, Compression Off), our app won't load at all. Gets stuck transferring a bundle file where only part of it is transferred. Using Pages Router for us though, in standalone mode. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Our website is under a Azure Frontdoor and NextJS ist in a Azure Container App.
We've activated compression on Frontdoor but since it doesn't have any Content-Length header, Frontdoor won't compress the response.
Now I found out that NextJS uses
Transfer-Encoding: chunkedwhich makes sense why theContent-lengthheader isn't present.So how can I configure Azure Frontdoor to compress awnser from NextJS?
Or how can I prevent NextJS to use
Transfer-Encoding: chunkedand correctly set theContent-Lengthheader?Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions