close to 500kb of resources required to load #1461
Comments
|
@vladikoff is looking into webpack. |
Awesome, I was thinking yesterday that something like that must exist by now. |
|
FWIW, after gzip is enabled, ~200KB is transferred across the wire. We still suffer from the number of requests and the latency introduced by each. |
|
I am worried about the initial load time if we use |
Before we start optimizing:
|
|
On Mon, Jan 26, 2015 at 10:47 AM, Chris Karlof notifications@github.com
|
This isn't a useful number, because we can't achieve that. I want to know what load time is minimally acceptable in your context. I'm not trying to derail the conversation. I want you to use the Web flow. Optimizing the flow is work, and I'm hesitant to embark on a vague optimization effort when there is a lack of clarity around how much optimization is required for it to be a contender. The outcome I'm trying to avoid is @shane-tomlinson spending two weeks on optimization and feeling good about it, and you coming back and saying "Pretty good, but it's still not good enough". There may also be some cheap wins possible here, like priming the Web cache with a background load, or preemptively loading the page in the background when the user is close a sign-in. @shane-tomlinson, do you have any thoughts on wins on our side we can do fairly easily? |
|
On Mon, Jan 26, 2015 at 11:38 AM, Chris Karlof notifications@github.com
I'm not trying to allocate work here, I just want to understand what can be [1] Desktop completely ignores this and we're just lucky most Desktop |
|
@johngruen will provide some thoughts on changes to make the loading experience appear less slow. |
|
Probably not helpful, but I saw this the other day and it sounded interesting: Wouldn't help with the initial 500kb hit, but may make subsequent requests much faster if we cache the ~360KB of minified JavaScript in the user's local storage. (although they'd still have the 70KB of fonts and 30KB of CSS to load). |
|
Dumb question: WTF are we still loading fonts for? |
|
I vote for Comic Neue: http://comicneue.com/ |
|
@ckarlof - @zaach and I proposed the same thing here. @ryanfeeley ixnayed the idea. |
|
You can't precisely design a modern web UI without controlling the fonts. At a minimum, line heights vary by font varying vertical text alignment inside boxes and buttons. That said, Firefox OS likely already has Fira Sans installed, so maybe there is a way to avoid downloading it there. |
|
From mtg: Let's look at our loading times and go from there: #2958 |
We are starting to suffer from bloat, which isn't great when loading on a 3G or Edge connection.
484kb
The text was updated successfully, but these errors were encountered: