Hello experts
I have this question which confuse me! so please help me
Is there a difference between clicking on the refresh button in the
browser and writing this command: "window.locatio n.reload()"
(in the meaning of loading images on a page)
The problem that I'm facing is as following:
my page uses an image to display, I wrote a code in php to change some
pixels of that image and save it with the same name, now I need to
redownload this image again in my page so I wrote the statment
"window.locatio n.reload()" but it surprised me that the result dosen't
appear unless I clicked mannually on the "refresh" button.
It seems that the old image is preloaded in cache or such thing? and
it's reloading again and again?
I tried to use the meta tag "no-cache" but with no good!
I have this question which confuse me! so please help me
Is there a difference between clicking on the refresh button in the
browser and writing this command: "window.locatio n.reload()"
(in the meaning of loading images on a page)
The problem that I'm facing is as following:
my page uses an image to display, I wrote a code in php to change some
pixels of that image and save it with the same name, now I need to
redownload this image again in my page so I wrote the statment
"window.locatio n.reload()" but it surprised me that the result dosen't
appear unless I clicked mannually on the "refresh" button.
It seems that the old image is preloaded in cache or such thing? and
it's reloading again and again?
I tried to use the meta tag "no-cache" but with no good!
Comment