search

Home  >  Q&A  >  body text

javascript - The page is stuck when opening, please optimize it, thank you!

Because a lot of pictures are used, the page opens very slowly. How can we optimize it well?

The page has two parts: PC and mobile. The main reason is that the PC is very laggy

世界只因有你世界只因有你2735 days ago924

reply all(4)I'll reply

  • 女神的闺蜜爱上我

    女神的闺蜜爱上我2017-06-28 09:30:19

    Lazy loading of images: https://www.w3cways.com/1765....,
    or CSS Sprite

    reply
    0
  • 代言

    代言2017-06-28 09:30:19

    Save pictures to cdn

    reply
    0
  • 淡淡烟草味

    淡淡烟草味2017-06-28 09:30:19

    Lazy loading of pictures

    reply
    0
  • 为情所困

    为情所困2017-06-28 09:30:19

    Put the image into the target-src attribute and then modify the src attribute after onload to achieve asynchronous loading~ This is one of the solutions

    reply
    0
  • Cancelreply