JeZxLee Posted November 17, 2019 Share Posted November 17, 2019 Hi, When we upload a new version of our HTML5 game the new version is not shown until Internet browser cache is cleared? Does anyone know how to force the HTML5 game to disable caching? Perhaps a change to the index.html file? Let us know, thanks! Game is below:http://fallenangelsoftware.com/stuff/files/SpaceSwap/HTML5/index.html (game uses the AppGameKit Classic engine) Jesse Quote Link to comment Share on other sites More sharing options...
JeZxLee Posted November 17, 2019 Author Share Posted November 17, 2019 Tried below, but it did not work:http://cristian.sulea.net/blog/disable-browser-caching-with-meta-html-tags/ Quote Link to comment Share on other sites More sharing options...
grelf Posted November 17, 2019 Share Posted November 17, 2019 I have written some advice about this on the last page of my JavaScript course, here: https://www.grelf.net/jscourse/publish.html See the 4th item on the page. plicatibu 1 Quote Link to comment Share on other sites More sharing options...
JeZxLee Posted November 17, 2019 Author Share Posted November 17, 2019 Ok, we got it working, thanks! Jesse Quote Link to comment Share on other sites More sharing options...
yuriythebest Posted November 17, 2019 Share Posted November 17, 2019 what I do is, and it's a very hacky solution, is I upload to a different folder every time ( MyGame12, MyGame123, MyGame12A, etc) then after testing I just delete all the folders lol Quote Link to comment Share on other sites More sharing options...
Karg Posted November 18, 2019 Share Posted November 18, 2019 i think the approach is to append a md5 hash/checksum to a resource name. if the original resource is someimage.jpg, the final resource will be someimage.computedhash.jpg. some engines will do this automatically (Cocos Creator, for example). Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.