WASM file gets downloaded twice, Is there anyway we can avoid downloading same file more than once.
here ERT_Facial_Alignment_asm.js referring to ERT_Facial_Alignment_asm.wasm file, but wasm downloaded twice.
Please find attached file here.
WASM file gets downloaded twice, Is there anyway we can avoid downloading same file more than once.
here ERT_Facial_Alignment_asm.js referring to ERT_Facial_Alignment_asm.wasm file, but wasm downloaded twice.
Please find attached file here.
This issue should be solved by setting correctly the header:
content-type=application/wasm
On your server hosting the wasm file.
When the content-type is not present, it will try to compile while downloading, then fail, then download again to compile offline.