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
demandé il y a 2 ans740 vues
1 réponse
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
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions