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
gefragt vor 2 Jahren740 Aufrufe
1 Antwort
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
EXPERTE
iwasa
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen