had a quick question.
Let's say I create file stylesheet.css
. In this file:
body {
background: #000000;
}
Now let's say I change the background colour, making this file version 1.0:
body {
background: #FFFFFF;
}
Would I change the link to the stylesheet to include ?v=1.0? Would that force the browser to load the stylesheet all over again with the new changes so old settings aren't cached? Also, assuming all the previous is correct, would it be good practice to commit changes based on version? So like I make changes in a stylesheet and dub them serious enough to warrant a v2.0
, then just commit the stylesheet as "v2.0"? Thanks!
<link rel="stylesheet" href="stylesheet.css?v=1.0">