Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what is the use of "v=747" at the end of /site_media/base.css?v=747"

Tags:

html

css

I have seen a web page source code containing the following css declaration at the header:

<link rel="stylesheet" href="/site_media/base.css?v=747" /> 

What is the use of "?v=747" at the end of this CSS declaration?

like image 642
Tolga Avatar asked Sep 02 '09 18:09

Tolga


1 Answers

To bypass the caching mechanism of the browser. If the file is updated, the version (I guess that's what v stands for) will be incremented and the browser will not use the cache, but download the file, since it is a different URL.

like image 106
soulmerge Avatar answered Sep 21 '22 15:09

soulmerge