bobonthenet Posted September 11, 2015 Share Posted September 11, 2015 So I didn't see this in here and I thought it might be helpful to others since I had to look it up. I was running into an issue where I would make a simple change to one of my js or json files and then not see the changes in my game due to the cached versions of the files being used instead of my changed versions. The easiest way to resolve this is to simply launch the game in incognito mode while you are debugging. If for whatever reason you want to prevent cached files from being used without using incognito here is a few methods you can use http://hungred.com/how-to/tutorial-stop-caching-jquery-javascript/ Link to comment Share on other sites More sharing options...
Skeptron Posted September 11, 2015 Share Posted September 11, 2015 For strange reasons incognito mode failed to empty my cache a few times. Since then I only use the "Clear cache" Chrome plugin to reload my pages : https://chrome.google.com/webstore/detail/clear-cache/cppjkneekbjaeellbfkmgnhonkkjfpdn?hl=en Link to comment Share on other sites More sharing options...
Luxis Posted September 11, 2015 Share Posted September 11, 2015 Another good tip, if you use Chrome, is to disable the cache through the developer tools. See http://stackoverflow.com/questions/5690269/disabling-chrome-cache-for-website-development for further instructions. drhayes 1 Link to comment Share on other sites More sharing options...
drhayes Posted September 11, 2015 Share Posted September 11, 2015 Use the Chrome dev tools. There's a "don't cache my stuff"* checkbox in the dev tools settings so it won't cache when they're open. * Paraphrased. Link to comment Share on other sites More sharing options...
Recommended Posts