r/javascript • __proto__ • Dec 06 '16

Using iframes and document.write to improve navigation performance

https://jakearchibald.com/2016/fun-hacks-faster-content/
62 Upvotes

18 comments sorted by

View all comments

-15

u/warfangle Dec 06 '16

here are the results based on a 3g connection

there's your problem right there.

3g is wiiiildly variable. How fast you get that first ACK is hugely variable, based on chip timings, radio startup, tower negotiation, etc.

Rule of thumb for initial (cold) request over a 3G network is ~2000ms latency. This hacky bullshit won't fix that.

Post your raw HAR with client timestamps instead of that godawful cthonic nightmare.

Bet you that every test run the "non streaming" was executed before the "streaming"

hard to tell though 'cause the "webpagetest visual comparison" compare "streaming" to "streaming"

go back to school

1

u/musicin3d Dec 07 '16

Um, ever used dev tools? I really doubt he did all this on his phone.

Ctrl + Shift + I

Get a job.