Any idea why my CSS stylesheet won't update changes?

Any idea why my CSS stylesheet won't update changes?
0.0 0

#1

Sometimes when I make changes to my css file, the changes simply won’t reflect. It’s happened with two of my websites already. The only solution I come up with is copy-paste the CSS into a separate file, save it as another file name, adjust it in the HTML link tag, and then it works.
This is really strange behaviour, any idea what could be wrong?


#2

It’s cached I assume; the new file isn’t cached so you see the changes. But without knowing your setup it’s not possible to tell.


#3

Thanks a lot, it actually was cached… Sorry I’m still such a noob to coding :sweat_smile:


#4

Haha, it happens regardless of if you’re new to building software or not. You spend hours and hours trying to debug why nothing is working, and then it turns out everything is working fine, it’s just that at some point you implemented/turned on/added methods to cache your code and make it run faster.