gzip static assets when uploading to S3 #1253
Replies: 4 comments
|
I think the solution is to set the |
|
I am aware of potential for side effects with compression + edge caching behind CloudFront distributions, something I was working on recently. Was going to check back on this issue as I dug into this eventually! |
|
Minor update: Architect Functions + HTTP Proxy now support this as of architect/functions#283 |
|
Update: as of Arc 10.3, all static assets are now brotli compressed, as well as non-binary responses delivered via |
Uh oh!
There was an error while loading. Please reload this page.
We configure API Gateway to gzip response payloads to reduce the size on transfer, but if we also gzip'ed assets on their way to the static S3 bucket we could reduce the amount of data over the wire between S3 and Lambda.
Low priority as it's unlikely to yield huge wins, but could be a "nice to have" improvement.
All reactions