开发者

css background images blink after reload page

开发者 https://www.devze.com 2023-01-03 18:32 出处:网络
I have blocks on page with background images, when I refer (click link) to the same page-images blink. How can I set chache or something else to extract this problem?

I have blocks on page with background images, when I refer (click link) to the same page-images blink. How can I set chache or something else to extract this problem?

I tell about w开发者_如何学Ceb http://pohladovybeton.sk/, especially in IE 8 after redirect (in page menus) is browser blink, and in Opera is blink content background, in FF is all OK and I want that it will be same in other browsers

if I click "Kontakt" (top-right in menu) it is ok (there is downloading google map), How can I to score it in other pages (some delay or what)?


I don't think you can stop this entirely, it is normal browser behaviour. Even with a cache, if you reload then browsers will often fetch images again, hence the 'blinking'.


What does the link do? If it reloads content, then how would you expect to not reload the images (as they are content).

If you want to update a specific piece of information on the page, you can use some form of AJAX to only load that piece. If you just want to go to the top of the page, use

<a href="#">return to top</a>
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号