Data Caching Webgl #436
Replies: 4 comments 2 replies
-
Hi! This should be configured on the server. Oh what kind of server are you hosting your web application? |
Beta Was this translation helpful? Give feedback.
-
Hello, I apologize for insisting on my problem. I've been testing and I've noticed that: -if I put the webgl export with the index.html that unity generates I can work with the cache, that is, the ".wasm" and ".data" files are stored on the client side. Even if you F5 the page, it will no longer download from the server. -if you use your unityContext in react, the ".data" file is always downloaded, whenever you do F5 to the page... and it wasn't supposed to. Can you understand what could be influencing this behavior? Thanks for your attention |
Beta Was this translation helpful? Give feedback.
-
have no another idea? |
Beta Was this translation helpful? Give feedback.
-
Try adding company name and product name in the unity config like this #388. This worked for me. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to run a build with data caching enabled before building on Unity?
I try to load my build on my IIS machine and ever refresh the page, takes 30s around to load, I mean, it is ignoring the data caching option I think.
Could you help me please?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions