It could also be related to a crude form of CSS versioning.
CSS files are cached. Adding a random number to the filename using a querystring forces the browser to load that new CSS file.
eg revision #1 style.css?1
revision #2 style.css?2
and so on.
It's a bad idea, because the benefit of having css in external files is that it allows for caching.
It's a bad idea, because the benefit of having css in external files is that it allows for caching.
Page rank
5
![]()
tbh I'm thinking of doing this with client sites from now on. I'm sick of saying press ctrl and f5 to do a hard refresh
From what I can see it's good idea as:
Love learning little things like this, sad eh?
- Updates to my css file will show instantly
- May be an idea to use it locally when developing a site - could add a random number to the css fill
![]()