AWS Amplify deploy - use compression

Viewed 330

We're using AWS Amplify to serve an Angular frontend via CI/CD (connected Github-Repo). Amplify does not seem to compress by default resulting in larger content delivery than necessary.

I can't find any option in the app settings inside the Amplify dashboard nor a solution online.

enter image description here

Is it possible to use compression (gzip or brotli) with AWS Amplify?

1 Answers

We managed to serve gziped responses and if i remember it correctly it was a setting hidden in the cloudfront configuration.

enter image description here

Altough i don't remember how i've activated that option, probably through the aws-cli.


UPDATE: Amplify seems to serve gzip by default now

Related