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
posta 2 anni fa740 visualizzazioni
1 Risposta
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
ESPERTO
iwasa
con risposta 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande