Forcing CSS Stylesheet refresh
Posted: Sun May 31, 2020 8:07 pm
Hi
I have been having issues with updates to my site, every time I make a change I have to Cntrl-F5 in Chrome which is easy peasy but mobile browsers seem to struggle and a plain old swipe down refresh does not work, the page remains a mess and not everyone is going to go through the hassle of manually clearing the cache so I did find a fix by manually editing the html stylesheet reference to:
href="css-file-name.css?v=1.1"
Now I just change the version number each time but it is a real pain in the but, is there any plugin, feature, or another trick in Web Builder I could use to force a stylesheet re-download?
Help is always appreciated.
Cheers.
I have been having issues with updates to my site, every time I make a change I have to Cntrl-F5 in Chrome which is easy peasy but mobile browsers seem to struggle and a plain old swipe down refresh does not work, the page remains a mess and not everyone is going to go through the hassle of manually clearing the cache so I did find a fix by manually editing the html stylesheet reference to:
href="css-file-name.css?v=1.1"
Now I just change the version number each time but it is a real pain in the but, is there any plugin, feature, or another trick in Web Builder I could use to force a stylesheet re-download?
Help is always appreciated.
Cheers.