JeZxLee

Upload New HTML5 Game, But New Version Not Shown Until Browser Cache Cleared?

Recommended Posts

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

Share this post


Link to post
Share on other sites

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).

Share this post


Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.