Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Learn More

Caching initialized web assembly modules

  • 1 odpowiedź
  • 0 osób ma ten problem
  • 10 wyświetleń
  • Ostatnia odpowiedź od 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?

Wszystkie odpowiedzi (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

Pomocne?

Zadaj pytanie

Aby odpowiadać na posty, musisz zalogować się na swoje konto. Zadaj pytanie, jeśli nie masz jeszcze konta.