4 ms·
A couple of years ago I went to a conference where one of the speakers outlined his company's web page optimization methods. The big one was to delay executing
by dsr_ 9y ago
A couple of years ago I went to a conference where one of the speakers outlined his company's web page optimization methods. The big one was to delay executing JS until at least the visible page content was loaded, and all JS that actually implemented customer-useful bits.
His example page loaded 94 scripts, which he claimed was representative of many pages.
- megaman22 9y ago> His example page loaded 94 scripts, which he claimed was representative of many pages. I know this is the norm, but can we just agree that this is insane? Some sites I go to, I just see the block badge on UBlock Origin ticking up like a Bitcoin price tracker.
- MaxBarraclough 9y ago> ticking up like a Bitcoin price tracker Fitting comparison - we can also expect performance degradation similar to Bitcoin's.
- smsm42 9y agoOne of the consequences of installing Ghostery was that it shows a counter of how many scripts are loaded on the page. Turns out I have severely underestimated how many scripts average site loads - and I work in the industry! As an example, I just loaded CNN site - it has 28(!) trackers and uses 38(!) different domains. And that's a low number because some of these scripts would load other scripts if I enabled them to run... That's a super-mainstream site, imagine how many more shady ones have.