Support for CloudFront compressing WASM (WebAssembly) Files?

0

Is it possible for the application/wasm Content-Type to be added to the list of file types that CloudFront will automatically compress?

Relevant references:

gstv
asked 2 years ago729 views
1 Answer
1

Hi, @gstv

If you have a request for a function, please refer to the following and give us feedback!

https://aws.amazon.com/premiumsupport/knowledge-center/send-feedback-aws/?nc1=h_ls

If you want to know if the current feature supports it rather than a feature request, unfortunately the answer is "impossible". CloudFront compression types are not user customizable.

If you're looking for a workaround, you may be able to have CloudFront interpret it as a fake file type and compress it by changing the origin response with Lambda @ Edge. This experiment looks interesting so I would like to try it.

profile picture
EXPERT
iwasa
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions