My game loads a JSON data file from the web directory I've uploaded it too. I'm trying to update the JSON file on the fly, but it appears to be cached in the browser so even after I've uploaded the new file, the online game will continue using the old version of the file stored in the browsers memory (unless I refresh several times, or clear the browser cache manually).
I've deleted the JSON file from the offline.appcache file that's created once the game is exported, but it still doesn't seem to work.
Does anyone know how to automatically re-download a JSON file every time (or possibly detect when changes have been made and only re-download it then)? The game depends on this file being up to date.
Thanks in advance.