How do I update my web game without erasing cache????

Get help using Construct 2

Post » Tue Jul 07, 2015 12:51 am

Hi everyone, as the title says, i already have a web game in a url but whenever i upload a new build of the game, people can't see it until they delete their browser's cache, so my question is, is there any way that people don't have to erase their cache to update the game???
Image

Image
B
38
S
14
G
7
Posts: 408
Reputation: 8,338

Post » Tue Jul 07, 2015 1:08 am

delete offline.appcache in the game directory
B
47
S
14
G
7
Posts: 603
Reputation: 8,141

Post » Tue Jul 07, 2015 4:34 am

Can that delete the users progress?? Also normal users dont know about files or folders.
Image

Image
B
38
S
14
G
7
Posts: 408
Reputation: 8,338

Post » Tue Jul 07, 2015 6:33 am

As I know, when there's an update available, it is downloaded in background and next time user opens the game, the newest version of the game is loaded.
B
32
S
7
G
4
Posts: 398
Reputation: 4,591

Post » Tue Jul 07, 2015 6:55 am

yeah. that works on apps, but im talking about a web game, in the browser.
Image

Image
B
38
S
14
G
7
Posts: 408
Reputation: 8,338

Post » Tue Jul 07, 2015 7:16 am

Yes. The exported project has a file called offline.appcache, if you delete that from the game directory it will force the user to reload the game every time they open it. any save data you do is seperate
B
47
S
14
G
7
Posts: 603
Reputation: 8,141

Post » Tue Jul 07, 2015 8:04 pm

And can they play offline without that file???
Image

Image
B
38
S
14
G
7
Posts: 408
Reputation: 8,338


Return to How do I....?

Who is online

Users browsing this forum: dop2000 and 20 guests