且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何清除或替换缓存的图像

更新时间:2022-05-09 00:05:58

如果您正在动态编写页面,可以将最后修改的时间戳添加到URL:

If you're writing the page dynamically, you can add the last-modified timestamp to the URL:

< img src =image.jpg?lastmod = 12345678...