Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
css and js ver numbers?
I noticed these kind of urls when looking at page sources for sites “
href='responsive.css?ver=4.1.1' /> and jquery/jquery-migrate.min.js?ver=1.2.1'>
what is the purpose of the VER numbers? The actaull filenames do not have the numbers and are simply: responsive.css & jquery-migrate.min.js
…. texted postive
Offline
Re: css and js ver numbers?
It’s sometimes used as cache-busters – the idea being that the file is re-downloaded when the URL with ?ver=
changes, although the file URL without the ?ver=
stays the same.
Offline
Re: css and js ver numbers?
gaekwad wrote #289408:
It’s sometimes used as cache-busters – the idea being that the file is re-downloaded when the URL with
?ver=
changes, although the file URL without the?ver=
stays the same.
thanks for the explanation. still perplexed though. I thought that using the simple filename without the ver # seemed to bork the development site i am working on. I do wish to use the simple file name… so I assume that is safe to do.
UPDATED: changed all filenames to simple.css and .js , cleared cache, and all is working fine now.
Last edited by bici (2015-03-25 19:20:40)
…. texted postive
Offline
Pages: 1