Page 2 of 2

Re: External CSS stylesheets

Posted: Tue Jul 17, 2018 11:08 am
by Davpar
Yes - every time! Often twice in succession because I didn't believe it the first time.

Re: External CSS stylesheets

Posted: Tue Jul 17, 2018 11:53 pm
by Albert Wiersch
Davpar wrote: Tue Jul 17, 2018 11:08 am Yes - every time! Often twice in succession because I didn't believe it the first time.
I have no idea then, especially if it just started working for seemingly no reason. I can't think of anything other than a cache issue that would cause that.

If you could create something reproducible then someone could most likely figure it out... but I suspect that would be difficult and not worth the trouble.

Or maybe someone else has another idea of what it might have been... ? If so then please speak up. :)

Re: External CSS stylesheets

Posted: Thu Jul 19, 2018 6:24 am
by Davpar
It still keeps doing it. Example:
My css sets <h3> font size to 1.4em. I’d prefer it smaller so I add h3{font-size:1em} to the <style> section of one page a a sample. The <h3> now renders as I want it, so I copy the new command into the css to replace the old one. Having uploaded the revised css, I return to the page I’m working on and remove the new command, as it should now be picked up by the css link. But it isn’t: it still renders as 1.4em unless I put the reduce-size command back into the <style> section. From previous experience I suspect that there is some sort of delay before the uploaded css takes effect, as it always seems to work its way through eventually.

Re: External CSS stylesheets

Posted: Thu Jul 19, 2018 11:25 am
by Albert Wiersch
I tried reproducing something like this and I could reproduce the problem as long as I didn't do a forced refresh.

If I did a regular refresh then the changes in the CSS file were not picked up. If I used Ctrl+F5 then the CSS was reloaded and I could see the changes from the updated CSS file.

If you are using Ctrl+F5 to refresh and your CSS changes are still not being loaded, then do you have a proxy server or anything else between the browser and server that might be affecting what your browser is receiving? Also, are you using http or https? http would be more prone to interference from something while https should be more secure and less prone to something getting in the way.

Re: External CSS stylesheets

Posted: Sat Jul 21, 2018 6:53 am
by Davpar
I'm using http not https and I've been refreshing with ctrl+R rather than ctrl+f5, but I've discovered beyond doubt that it simply takes time for a CSS change to take effect so I'm no longer fazed by it. Thanks for your interest!