I have read about caching over here:
But none of these suggestions appear to work for me? I upload a new skybox over previously existing files but when I go to my viewer it is still displaying the previous skybox.
Only when I press CTRL+F5 does it refresh properly.
You can trick it by adding a random value after your url, something like “https://myurl?12345”
just make sure that ?12345 is always a new one
Alright couldn’t get that working for some reason but just ended up adding.
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
Combined with
engine.enableOfflineSupport = false;
1 Like