Mobile app version of vmapp.org
Login or Join
Sue5673885

: Changed an unordered list from images links to CSS background text links - uncached versions are showing broken We had unordered list for social media icons that had ahrefed images. We swapped

@Sue5673885

Posted in: #Css #Http

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.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Sue5673885

1 Comments

Sorted by latest first Latest Oldest Best

 

@Heady270

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?

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme