I’m loading a txt file (only one line) once every 10 seconds with loadStrings()
Works. Loaded it already a hundred times.
Then the txt file on the server has changed.
But loadStrings() is still loading the old version of the file.
5. I open a new browser tab… 6. I open the txt file to check it… 7. My browser (Chrome) still opens the old version… 8. I hit the refresh button, and then the new version appears,
In exactly that moment, p5js loads the new version too.
Which means, loadStrings() is loading the file from the browser cache?
Does someone know how to solve that?