Description
I am using a label to display an image:
image1Label = ESPUI.label("An Image Label", ControlColor::Peterriver, "<img src='path/to/image'>");
The img src is another webserver instance on the ESP, on port 81, serving only the image. This works fine, i see the image in the label.
I can update the label later just fine, with:
ESPUI.updateLabel(image1Label,"test update");
But if i change the image served by the above second server instance and try to update the label with:
ESPUI.updateLabel(image1Label, "<img src='path/to/image'>");
I still get the old image unless i use the browser to refresh the page.
If I go direct to the URL in the browser i can see it has indeed updated, so it's only ESPGUI that isn't getting the new image.
Is it some sort of caching?
Any ideas appreciated.... :-)