Disable cache for some images

前端 未结 13 1126

I generate some images using a PHP lib.

Sometimes the browser does not load the new generated file.

How can I disable cache just for images created dynamica

13条回答
  •  既然无缘
    2020-11-22 08:26

    If you need to do it dynamically in the browser using javascript, here is an example...

    
    
    
    

提交回复
热议问题