L
L
leni_m2017-10-27 15:01:39
Bootstrap
leni_m, 2017-10-27 15:01:39

Why do images take so long to load?

Why does it take so long for images to load?
I understand the size affects, but why does 91Kb load in 7.5 seconds, and 130Kb in 2 seconds?
59f31fae268af065736342.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Egor Tregubenko, 2019-07-31
@Sinecuraweb

<div class="container">
  <div class="row justify-content-center align-items-center">
    <!-- start form  -->
  </div>
</div>

this is for 4 bootstrap)

N
Nikita Kit, 2017-10-27
@leni_m

Because the browser tries to load everything at the same time, and not in turn, this is clearly visible on the waterfall.
Option 1: compressor.io
Option 2 (true level - you can hang a callback for waiting): https://github.com/alexanderdickson/waitForImages (helped me when my masonry broke because js-layout was initialized before pictures, which were in his items)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question