Replies: 5 comments 5 replies
-
Curious to know if you were able to resolve this issue ? |
Beta Was this translation helpful? Give feedback.
-
Related ? |
Beta Was this translation helpful? Give feedback.
-
Would be cool to get an answer here, running into similar problems :( |
Beta Was this translation helpful? Give feedback.
-
Running into the same issue here. |
Beta Was this translation helpful? Give feedback.
-
I was having this issue in dev on Next 14 and found the solution in openapi-typescript discussions - openapi-ts/openapi-typescript#1912 (comment) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
We've been using NextJS 12.1.0 with Cloudfront successfully for some time. So far the next compress was set to false and we relied on AWS Cloudfront to compress the files (brotli/gzip).
Recently we migrated to 12.2.0 and the HTTP headers from the next were changed to follow the HTTP/1.1 standard instead of the HTTP/1.0 - before the migration we received the Content-Length header (which is required for Cloudfront to work).
However, after we migrated to 12.2.0 all requests followed the HTTP/1.1 protocol meaning that we no longer receive Content-Length header, but we started receiving
Transfer-Encoding: chunked
and the files were sent in chunks.Is there a way to bring back the old behavior without using additional reverse proxies or if not - what would be the proper solution to our problem? We'd like to not compress the files at NextJS level and only compress them at our reverse proxy.
Beta Was this translation helpful? Give feedback.
All reactions