New Perspectives On Web Design

(C. Jardin) #1

CHAPTER 4 Culture of Performance


product. This button is not only far down the page, but most likely not
used very frequently. By not loading the code and assets necessary for that
modal box until some time after page load — perhaps even waiting until
the cursor is within a few hundred pixels or the button has been clicked —
there’s a nice little boost to initial page load time.

Delaying the load of the code related to that modal box until the after
initial page load could have a noticeable impact on load time.

The review button on the Hugo Boss site is far down the page,
and probably not frequently used.
Free download pdf