@theruran @ColinTheMathmo If you append a random "GET" string to the end of the image name each time (e.g. "Output.png?bob=wqeiufseuybf") then the browser should think it is a new image each time and reload it.
Conversation
Notices
-
Embed this notice
Andy Newsam (astroandyn@astrodon.social)'s status on Tuesday, 18-Jun-2024 02:33:22 JST Andy Newsam
-
Embed this notice
Colin the Mathmo (colinthemathmo@mathstodon.xyz)'s status on Tuesday, 18-Jun-2024 02:33:12 JST Colin the Mathmo
@AstroAndyN OK, access has been restored.
https://www.solipsys.co.uk/Cricket
Seems to be working ... thank you!!!
It shouldn't be this hard ...
CC: @theruran
clacke likes this. -
Embed this notice
Colin the Mathmo (colinthemathmo@mathstodon.xyz)'s status on Tuesday, 18-Jun-2024 02:33:13 JST Colin the Mathmo
@AstroAndyN Thank you ... I'll try that when I get access back to the web site. Currently, having followed someone else's suggestion, my access is totally borked.
CC: @theruran
-
Embed this notice
Andy Newsam (astroandyn@astrodon.social)'s status on Tuesday, 18-Jun-2024 02:33:20 JST Andy Newsam
@ColinTheMathmo @theruran Sorry, I wasn't clear - I meant using JS or similar. E.g. this should work:
<html> <head>
<meta http-equiv="refresh" content="10">
</head> <body>
<script>
const outImage = new Image();
randnum = Math.floor(Math.random() * 99999999);
outImage.src = "Output.png?r="+randnum.toString();
document.body.appendChild(outImage);
</script>
</body> </html>clacke likes this. -
Embed this notice
Colin the Mathmo (colinthemathmo@mathstodon.xyz)'s status on Tuesday, 18-Jun-2024 02:33:21 JST Colin the Mathmo
@AstroAndyN I'm not changing the HTML file, so I can't insert randomly changed things in the image name.
CC: @theruran
-
Embed this notice
clacke (clacke@libranet.de)'s status on Tuesday, 18-Jun-2024 02:33:45 JST clacke
@AstroAndyN @theruran @ColinTheMathmo Who ya gonna call?
Cache Busters!
-
Embed this notice