You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is there any way to cache the wasm file and other two worker and core files on client side? Because when user want to frequantly use the website they have to download files each time they open a new session. Is there any way to do this?
The text was updated successfully, but these errors were encountered:
If the wasm file is small enough, then the two common strategies are to use Last-Modified-Since caching or ETag caching or a hybrid of those. The client side code generated by Emscripten for this already will employ these mechanisms - you'll have to configure the server side with the appropriate Response Headers to make that work. https://developer.mozilla.org/en-US/docs/Web/HTTP/Caching is a good starting point for caching.
is there any way to cache the wasm file and other two worker and core files on client side? Because when user want to frequantly use the website they have to download files each time they open a new session. Is there any way to do this?
The text was updated successfully, but these errors were encountered: