Re: [Wikitech-l] ResourceLoader, latency, & progressive enhancement

2016-04-25 Thread Brion Vibber
I also didn't really distinguish three separate perf points in my blurb: * time to first paint * time to bare page interactivity * time to enhanced page display / interactivity Mainly I was concentrating on the third point, but the first two -- which y'all are already doing a great job on -- are e

Re: [Wikitech-l] ResourceLoader, latency, & progressive enhancement

2016-04-25 Thread Brion Vibber
On Monday, April 25, 2016, Ori Livneh wrote: > Not so straight-forward. Khan Academy tried unbundling JavaScript on HTTP/2 > page views last November and found that performance got worse. They > attribute the regression primarily to the fact that bundling improves > compression. They concluded th

Re: [Wikitech-l] ResourceLoader, latency, & progressive enhancement

2016-04-24 Thread Ori Livneh
On Sat, Apr 23, 2016 at 3:08 PM, Brion Vibber wrote: > Started as quick thoughts, turned into more of an essay, so I've posted the > bulk on mediawiki.org: > > https://www.mediawiki.org/wiki/User:Brion_VIBBER/ResourceLoader_and_latency > > > tl;dr summary: > > On slow networks, latency in loading

Re: [Wikitech-l] ResourceLoader, latency, & progressive enhancement

2016-04-24 Thread Ori Livneh
On Sun, Apr 24, 2016 at 1:39 AM, Brion Vibber wrote: > On Sunday, April 24, 2016, Daniel Friesen > wrote: > > > Tangentially related, Chrome plans to drop support for SPDY and go > > HTTP/2 only this year, Edge already dropped support for SPDY, and other > > browsers may too. > > So before this

Re: [Wikitech-l] ResourceLoader, latency, & progressive enhancement

2016-04-24 Thread Brion Vibber
On Sunday, April 24, 2016, Daniel Friesen wrote: > Tangentially related, Chrome plans to drop support for SPDY and go > HTTP/2 only this year, Edge already dropped support for SPDY, and other > browsers may too. > So before this is actually implemented, Wikimedia might want to upgrade > web serve

Re: [Wikitech-l] ResourceLoader, latency, & progressive enhancement

2016-04-23 Thread Daniel Friesen
Tangentially related, Chrome plans to drop support for SPDY and go HTTP/2 only this year, Edge already dropped support for SPDY, and other browsers may too. So before this is actually implemented, Wikimedia might want to upgrade web server software to support HTTP/2 (currently MediaWiki.org looks t

[Wikitech-l] ResourceLoader, latency, & progressive enhancement

2016-04-23 Thread Brion Vibber
Started as quick thoughts, turned into more of an essay, so I've posted the bulk on mediawiki.org: https://www.mediawiki.org/wiki/User:Brion_VIBBER/ResourceLoader_and_latency tl;dr summary: On slow networks, latency in loading large JS and HTML resources means things don't always work right whe