Juziyue's blog management software told me in the message book that each time a new page is opened, more than 100 gravatar portraits will be loaded. We recommend that you use the Javascript plug-in of lazyload to Reduce image loading, increase page loading speed and save traffic. Although this profile picture is from a third-party server and does not consume Blog traffic, it is good to Save loading time for some visitors.
Previously, I also mentioned in my blog that I used the lazyload plug-in, but I didn't care about it after I switched to a better server. Chrysanthemum enthusiastically made the loaded image:
Seeing this figure, I realized that lazyload is useless only when the network speed is fast. the user's browser needs to load so many gravatar pictures to open the page. Are I considering removing gravatar pictures?
Lazy load is a jquery plug-in written in JavaScript. it delays loading images on long pages. images outside the visible area of the browser are not loaded until the user scrolls the page to their location. this is the opposite of the image pre-loading method. (Official demo address)
Installation Method:
Download the two JS files, one image, and put it in your blog space. You can use JavaScript to call webpages with multiple images.
<SCRIPT type = "text/JavaScript" src = "http://lusongsong.com/themes/LuSongSong/script/jquery.js"> </SCRIPT>
<SCRIPT type = "text/JavaScript" src = "http://lusongsong.com/themes/LuSongSong/script/jquery.lazyload.js"> </SCRIPT>
Http://lusongsong.com/themes/LuSongSong/script/grey.gif