- Home /
How to publish an update to an existing published build on WebGL
I published a build of my karting game with WebGL and since then I had made alot of adjustments like new assets and slider tweaks. I published the game when the initial tutorial but everytime I try to publish an update for my friend to check out I only get the original build and not the updated one. How can I fix this? I have already tried creating a new build and publishing and even deleted the original published build files but I still get the original build Thanks in advance!
Answer by FlaSh-G · Aug 16, 2020 at 07:52 AM
Your friend's browser seems to have cached the game files. To prevent that from happening, You could dig deep into how caching works and implement a good caching policy in your front- and/or backend.
A simpler solution, though definitely not the best of ideas for professional deployment, is to simply upload your game files under a different path, so the url(s) under which the browser finds them is different, which leads to the browser not knowing anymore that it had an earlier version of the game files in the cache.
Your answer
Follow this Question
Related Questions
GL Lines work on one platform, others, not so much 1 Answer
Fast but no Exceptions build size (iOS) 0 Answers
App working in Unity but not completely in Xcode 0 Answers
Why can't I create a build file for html? 0 Answers
Unity 5.6 build size increases? 4 Answers