<meta http-equiv="cache-control" content="max-age=0" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="0" />
<meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
<meta http-equiv="pragma" content="no-cache" />
But this will impact the whole website resources caching which probably you don't want and still... if that thing you want to do is really important I wouldn't trust this "hack" myself.Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
From novice to tech pro — start learning today.
If I well understand you you want to change the CSS to reflect the servers status instead of doing it server-side right?
The main problem I see here is actually related with the browsers cache.
If the name of the CSS file doesn't change, the browser won't download it again, sometime not even with a Ctrl-F5 (IE is a bit unstable on this and Opera you can well forget about it).
So, even if you change the CSS file the browser won't pick it or you'll never be 100% sure if he picked it or not.
Your most reliable way to implement this is server side or client-side with AJAX calls and timers.