Search Support

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

Wannan tattunawa ta zama daɗaɗɗiya. Yi sabuwar tambaya idan ka na bukatar taimako.

Caching initialized web assembly modules

  • 1 amsa
  • 0 sa na da wannan matsala
  • 10 views
  • Amsa ta ƙarshe daga 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?

All Replies (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