CSS Background Images not loading

后端 未结 5 857
独厮守ぢ
独厮守ぢ 2021-01-06 17:23

I\'ve got a very strange bug in chrome recently that is when you load the page first time, or in incognito mode that none of the background images show.

when you the

5条回答
  •  無奈伤痛
    2021-01-06 18:02

    Owen,

    I still see this problem on the application that I'm working on. I know this is also a hacky solution, but it's a little less hacky than the jquery solution that you had posted. I simply threw a version number based on time after the css include and it

    e.g. " rel="stylesheet" type="text/css" />

    I know that this causes the css to never be cached, but I have not found any other solution.

提交回复
热议问题