r/csshelp • • Feb 14 '14

Does Reddit delay CSS updates?

This is regarding /r/Godot.

I'm working on updating the sub's theme, and my changes are not constant across browsers or even comment pages. Some pages have been updated while others are untouched completely and still others appear to be at some interim point in my work's progress. Is this something that I need to worry about?

6 Upvotes

4 comments sorted by

3

u/gavin19 Feb 14 '14

The CSS can get 'stuck' as stylesheets are cached. When testing, use Ctrl/Shift+F5 to clear your browser's cache (sometimes it'll take a few attempts). If you use Chrome, and have the dev tools open, you can press/hold on the refresh button to get extra cache-clearing options.

If the differences persist, and the styles that you're trying to override are added by RES, then it might be that your CSS isn't specific enough. Main reason being that Firefox requires it to be more specific then RES', while Chrome/Opera/Safari only requires that your CSS is as specific as RES'.

1

u/[deleted] Feb 14 '14

Wow, I am behind the times. I guess that's why ctrl+F5 wasn't working. Thanks! Manually clearing the cache (along with history, cookies, etc) didn't do the trick either though.

The CSS itself seems fine. It started to render properly in the other browsers after a while (which pretty much answers my question), and was rendering properly on the mod account all along.

It just surprises me that I hadn't seen this mentioned yet, so in my own security paranoid way I worried, "What if something is infected/broken?"

1

u/honestbleeps Feb 14 '14

The joke writes itself and I can't even be arsed to make it.

1

u/[deleted] Feb 14 '14

"Waiting for Godot..."

There's also the Godot who really likes coffee (Ace Attorney) and (relevant to the sub) the game engine Godot.