rxw Posted April 27, 2014 Share Posted April 27, 2014 Hi everyone! I'm using a Node package called http-server to create my local web server. However, whenever I make changes to an asset and refresh the page, the asset doesn't get changed in game.Something else I've noticed is that phaser is still able to load assets that don't exist inside the directory anymore. This makes me assume that my issue of assets not updating is due tophaser using the (older) cached version of an asset instead of the updated version. Has anyone encountered this issue before? Is this specific to http-server? I could use some guidance. Thanks! Link to comment Share on other sites More sharing options...
rich Posted April 27, 2014 Share Posted April 27, 2014 Phaser just makes a http request via your browser for the assets. Literally everything else (cache use, etc) is controlled by your browser settings + web server settings and is out of Phasers control, it doesn't perform any client side caching. Link to comment Share on other sites More sharing options...
Recommended Posts