Jump to content

Assets aren't updating


rxw
 Share

Recommended Posts

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 to

phaser 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

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

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...