How to prevent image from loading from cache when src is the redirect URL to the actual image file

All:

When I try to solve the problem, when I downloaded the image from the cache, I received several answers from this message: How to force the web browser NOT to cache images

It talks about adding a timestamp to src, e.g.

<img src="picture.jpg?1222259157.415" alt="">

But in my case, this is not the direct url of the image, this is the avatar url from github:

<img src="https://avatars.githubusercontent.com/u/614?v=3" alt="">

When I add the timestamp 79399.92599998368 to it, it becomes:

<img src="https://avatars.githubusercontent.com/u/614?v=379399.92599998368" alt="">

I am wondering why this src can still be correctly recognized and get an image, even a URL change? Can someone tell me why this works and how the browser handles this?

thank

-2
1

(?) URL- , GET.

github , . , github , , , , , URL- .

+3

All Articles