Reputation: 3015
I saw a few images on a certain site that linked images with a parameter.
Ex: Image was linked as //s.cdn.foobar.com/images/foobar.png?3
. What does the ?3
signify on an image? I thought usually only normal HTML pages contain query strings. What is the point of having this query string on the image?
Upvotes: 0
Views: 2271
Reputation: 6089
The only use I know of for putting query strings on images is to prevent caching. Some sites put a random value in a query string for this.
Here's an older question that discusses this Disable cache for some images
Upvotes: 1