I have a question, I am using AWS AMPLIFY CONSOLE to run a React App
My app is built and running very well, but the main .js bundle size is 1,3MB. Too high!!
I want to reduce the bundle size, but I don't know how to force to serve only the .js.gz (gzipped version of the bundle) instead of the plain js version.
Its possible to get this in AWS Amplify Console?
Thanks in advance,
@rallona Are you hosting using CloudFront? If so, I believe we configure distributions to serve compressed assets, so it should just happen as long as clients are passing the correct Accept-Encoding header..
Can you share the url for your app?
I use the Amplify Console. I cant change or choose any parameter like I can do it in CloudFront
@rallona can you share your app ARN, and the endpoint you're using to access your app?
I'm having the same issue and trying to reduce my bundle size. Is serving gzipped bundles possible with Amplify?
Same issue. +1
Can some one from Amplify team answer this ?
@swaminator why was this issue closed? Is there a recommendation you could share for Amplify users who want to use content-encoding?
Most helpful comment
Same issue. +1
Can some one from Amplify team answer this ?