user1757703
user1757703

Reputation: 3015

What do the parameters/query string on an image mean?

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

Answers (1)

Peter Wooster
Peter Wooster

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

Related Questions