Caută ajutor

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Acest fir de discuție a fost arhivat. Adresează o întrebare nouă dacă ai nevoie de ajutor.

Caching initialized web assembly modules

  • 1 răspuns
  • 0 au această problemă
  • 10 vizualizări
  • Ultimul răspuns de cor-el

more options

Hello, I am working on a web app where quite sizable around 45 mb webassembly module is used. The wasm file it self is cached by the browser but it is compiled to the device on every page refresh and it takes some time. I would like to cache this compiled module, but didn't find any information how this could be done except some 5 years old information about using indexed db and then information about removing that possibility.

How one could cache compiled web assembly module?

Hello, I am working on a web app where quite sizable around 45 mb webassembly module is used. The wasm file it self is cached by the browser but it is compiled to the device on every page refresh and it takes some time. I would like to cache this compiled module, but didn't find any information how this could be done except some 5 years old information about using indexed db and then information about removing that possibility. How one could cache compiled web assembly module?

Toate răspunsurile (1)

more options

See comment 2:

  • 1549489#c2 - Compiled asm.js is not cached
  • 1762599 - HTTP cache limits are much too small for serious wasm programs