Greetings:
I thought I had an answer some time ago, but cannot find it now, or even if it was workable.
I look at a couple web pages, my own, one fed by GraphWeather and another by the late version, need to update to the very last, of Weather Display.
The GraphWeather .jpg that I upload is there, but frequently old, requiring me to hit the Refresh button on my FireFox, which is my current browser of choice for a lot of reasons.
The WeatherDisplay page is similar, with some of the stuff being current, but likely the first graphic being behind, as evidenced by the time stamp on the image, and hitting the refresh icon will get it to display correctly.
My question has several parts.
First, is there a way to tell my browser to not try to load from my cache? I don't want to clear the whole cache every time I exit the browser since the rest of the stuff seems to be OK, and if I browse other pages, newspapers, etc. I have no problem, so why download all that again (although internet bytes are pretty much a fixed price nowadays).
Second, is there a way to insert some code in the HTML that exists on my web page to force ANY browser that visits the page to do a refresh of that image?
I recollect that years ago, when a progenitor to FireFox was out there (forget the name but it got a lot of competition for IE started), that images on pages really needed to be refreshed when you came back to them after being off line for awhile.
I would assume by now there would be something in HTML ver 5 or whatever, that would tell the browser upon accessing that page to screw what's in the cache and just load a fresh image from the website. Am I wrong? This is what I think I had someone tell me about a year or so ago, and I thought I had written down the line of code that basically says to the browser to do that.
Are some browsers better than others at this? I know the name of the image I refer to does NOT change, but the date and time it was uploaded does. If the one in local hard drive cache is older and a newer timed one is on the website, it seems logical that the code would grab the new one and display that one.
Very frustrating. I know Brian H. had a line he displays saying that one might need to force a refresh to get the most current data, so I'm suspecting I'm not the only one running into this problem.
Thanks for any thoughts or ideas. Obviously I'm not an HTML programmer or I'd know these things and wonder if there is a line of code, how easy is it to insert into my index.html?
Dale
ECWx.info
ECWx.info/graph2.jpg