C
C. (http://symcbean.blogspot.com/)
Hi all,
I have an application which generates image graphs. These cache nicely
at the client, however if the user submits more data, I'd like to
force a reload of the image from the server.
I had a google, but all I could find were suggestions to use a varying
query in the URL. This is not a solution to my problem because if I
change the page to do that then ALL the graphs will be reloaded every
time.
I tried
document.getElementById("imgs_id_tag").src.reload():
and
document.getElementById("imgs_id_tag").reload():
But just got errors.
(If I open JUST the image URL in a browser, I get the cached version,
if I then click on refresh, it goes back to the server to get a new
copy - which is what I want).
Any suggestions?
TIA
C.
I have an application which generates image graphs. These cache nicely
at the client, however if the user submits more data, I'd like to
force a reload of the image from the server.
I had a google, but all I could find were suggestions to use a varying
query in the URL. This is not a solution to my problem because if I
change the page to do that then ALL the graphs will be reloaded every
time.
I tried
document.getElementById("imgs_id_tag").src.reload():
and
document.getElementById("imgs_id_tag").reload():
But just got errors.
(If I open JUST the image URL in a browser, I get the cached version,
if I then click on refresh, it goes back to the server to get a new
copy - which is what I want).
Any suggestions?
TIA
C.