Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

We had unordered list for social media icons that had ahrefed images. We swapped them out for text links that used CSS background images.

If a user just loads the page, they'll get the old version. I thought HTTP status codes is suppose to be sent for the browser to reload using the new html and CSS images. Any ideas?

Of course the user can just reload the page but at first the list will look funny.

share|improve this question

1 Answer 1

CSS and JS resources are not checked by browsers every time. Browsers may check with an "if modified since" request and get back a "not modified" response, but they won't do it every time.

From a practical standpoint, it means that webmasters often version their CSS and JS for releases. See: What is an elegant way to force browsers to reload cached CSS/JS files?

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.