Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Website Images That Are Cached In Chrome Disappear On Page Refresh

I'm having a strange issue with Chrome.

I'm working on development with a very image heavy website. If I reload a page over and over again, eventually half the images or more will just disappear. (they don't seem to be broken, just not visible).

If I clear my local cache in Chrome and refresh the page, the images return.

Any idea what may be causing this and how to possibly fix?

edit: just to note, it's not just me. Others hav reported the same issue on the website I'm working on. Always Chrome.

like image 617
Brian Avatar asked Nov 15 '22 03:11

Brian


1 Answers

Images, which contains "content-length" header randomly disapper, removing this at the server side solves this bug...

(chrome dev team has this issue in "open" state in their bug tracing system)

like image 60
jb4 Avatar answered Dec 09 '22 16:12

jb4