I have a WordPress website which I am working on, and all changes in my .CSS file does NOT appear in Chrome, Firefox or Edge.
I load my CSS directly from the tag:
<link href="/wp-content/themes/mytheme/css/style.css" type="text/css" rel="stylesheet"> If I make changes to the CSS file, the changes do not appear in the browser. When I inspect the website using DevTools, I can clearly see the older/cached version of CSS is loaded.
I have already tried: Ctrl+F5, disabling cache when DevTools is open, manually clearning cache, hard reloads...
Nothing works. Not even clearing the cache.
The only solution for me is to either wait 10-15 minutes and then reload the page, or rename the .css file and relink it. I've read there is a workarond for this when using CSS versioning (style.css?v=1.0 etc.) but I refuse to get used to these annoying workarounds.
I just don't get why is this happening. Any help? Thank you.