6 Nov 2009 at 14:30 #1 suarve suarve Soldato Joined 8 Oct 2005 Posts 4,184 Location Midlands, UK Have seen this a few times lately, what is the purpose of adding kind of querystring data including a css file. E.g. Code: <link href="/css/style.css?65463456" media="screen" rel="Stylesheet" type="text/css" /> Ta
Have seen this a few times lately, what is the purpose of adding kind of querystring data including a css file. E.g. Code: <link href="/css/style.css?65463456" media="screen" rel="Stylesheet" type="text/css" /> Ta
7 Nov 2009 at 16:37 #4 suarve suarve Soldato OP Joined 8 Oct 2005 Posts 4,184 Location Midlands, UK Thanks for replies. Never knew about adding a random number to stop caching.
8 Nov 2009 at 14:15 #12 suarve suarve Soldato OP Joined 8 Oct 2005 Posts 4,184 Location Midlands, UK Page rank5 billysielu said: It's a bad idea, because the benefit of having css in external files is that it allows for caching. Click to expand... 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: 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 Love learning little things like this, sad eh?
Page rank5 billysielu said: It's a bad idea, because the benefit of having css in external files is that it allows for caching. Click to expand... 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: 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 Love learning little things like this, sad eh?