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
已提問 2 年前檢視次數 741 次
1 個回答
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
專家
iwasa
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南