Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Responses of SSR sites served without compression #4404

Open
klaemo opened this issue Jul 19, 2024 · 1 comment
Open

Responses of SSR sites served without compression #4404

klaemo opened this issue Jul 19, 2024 · 1 comment
Assignees

Comments

@klaemo
Copy link
Contributor

klaemo commented Jul 19, 2024

The HTML & JSON responses of my Remix app don't get automatically compressed by Cloudfront.

❯ npx sst version
0.1.1
Bildschirmfoto 2024-07-19 um 17 00 41
@klaemo
Copy link
Contributor Author

klaemo commented Jul 23, 2024

So, I think this happens because these responses use the streamifyResponse handler on AWS lambda and Cloudfront doesn't compress streamed responses, I think

@thdxr thdxr transferred this issue from sst/ion Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants