Caching issues and how does/can it work?

0 favourites
  • 3 posts
  • The past three versions I've released of my game on my website have worked as expected, with some oddities related to caching.

    First release went well. I pushed the game to my web server with no issues; the sound played back correctly and the game was intact as expected, and as played by my friends.

    The second release was strange; one of my friends had a half-version where the button from the old version was shown, but the mechanics of the game itself along with all other graphics were correct. This was the only reported issue, and fixed when his browser cache was cleared.

    The third release I had the most issues with; all my friends who had played one of the two previous versions on the same browser as last they used had to either clear the cache or use their browsers private browsing, which doesn't utilize any previously cached data, if I'm not mistaken. However, clearing the cache often resulted in another half-version of something screwed up.

    For instance, in that third version, when I navigated to my game after clearing the cache (since it wouldn't download the new version without doing so), my button graphic's third frame was supposed to play, on click, but instead turned into a half-one-frame and half-another, correctly sized, but odd-looking. This was reported by my GF on her browser, and we both use Google Chrome.

    One other friend (the one who composed my music) was claiming that there was an unusual audio click during music playback (and no other issues), which he recognized right away. Turns out that while using private browsing he could hear the correct audio.

    Another friend said that sound effects weren't playing, on Safari on his iPad, but worked correctly using a different browser on that same device. He hadn't ran the game before, so I know it's an audio issue, and after running the game that first time, it worked correctly, which points me right back at caching.

    All three versions had different project version numbers, if that helps. Preview/debug always worked correctly.

    So what's the big deal with caching, and/or how do I avoid it or force browsers to re-download all new files? Because it certainly is not working correctly.

  • If you want to force the redownload of everything (which also will disable offline support), delete the offline.appcache, of course this is only a temporary solution as this problem should be corrected.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Aphrodite I realized I never replied. Thanks for tip. I will await a fix. : )

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)