php - Cache problem on changing src attr with same file name -
I am trying to change the src path of an IMG tag closer to
with me :
& lt; Img src = "img1.jpg" & gt; Then I upload a new picture through the IFrame and take the new picture the same name (img1.jpg), then by AJAX I refresh the SRAR path (which is the same but the photo has changed) < / Pre> P>
The problem is that I use the same file name, the IMG does not change in the browser browser, the browser is estimating the cache ...
Is there a jquery, html or php solution in it?
Thanks
You can try to add a random query string at the end ... Img src = "img1.jpg? Random_string"
Comments
Post a Comment