Page 1 of 1

Forcing CSS Stylesheet refresh

Posted: Sun May 31, 2020 8:07 pm
by darkoracle
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.

Re: Forcing CSS Stylesheet refresh

Posted: Mon Jun 01, 2020 7:00 am
by Pablo
This is not a common problem so there is no standard option to add this.
But maybe something is wrong with the cache settings of the server?

Re: Forcing CSS Stylesheet refresh

Posted: Tue Jun 02, 2020 9:26 am
by darkoracle
HI

I have checked with my provider and there is no server-side caching happening, any other suggestions on forcing browsers to not use cache when I make changes?

Kindest Regards
J

Re: Forcing CSS Stylesheet refresh

Posted: Tue Jun 02, 2020 9:34 am
by Pablo