Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

Learn More

Caching initialized web assembly modules

  • 1 réponse
  • 0 a ce problème
  • 10 vues
  • Dernière réponse par 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?

Toutes les réponses (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

Cela vous a-t-il été utile ?

Poser une question

Vous devez vous identifier avec votre compte pour répondre aux messages. Veuillez poser une nouvelle question, si vous n’avez pas encore de compte.