Re: [quicwg/base-drafts] PRIORITY frame on control stream referencing unopened request stream (#2502)
Patrick Meenan <notifications@github.com> Thu, 09 May 2019 20:48 UTC
Return-Path: <noreply@github.com>
X-Original-To: quic-issues@ietfa.amsl.com
Delivered-To: quic-issues@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0AC301200E3 for <quic-issues@ietfa.amsl.com>; Thu, 9 May 2019 13:48:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.606
X-Spam-Level:
X-Spam-Status: No, score=-6.606 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_IMAGE_ONLY_28=1.404, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=github.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aEylS4un-lti for <quic-issues@ietfa.amsl.com>; Thu, 9 May 2019 13:48:25 -0700 (PDT)
Received: from out-7.smtp.github.com (out-7.smtp.github.com [192.30.252.198]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1A5881200B6 for <quic-issues@ietf.org>; Thu, 9 May 2019 13:48:25 -0700 (PDT)
Date: Thu, 09 May 2019 13:48:24 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1557434904; bh=Ood6sXvoqM+J8X3VnmzFit3wrP3rzBYZOhlHxk6hxJQ=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=HlGEGR6ahY7eDK+OGsq053GUOGAE3C+jxHM7zOGZ7iStfGxH3b0d0HBUP6GEQJGeu 2D/Y5Xyp7TTe93vG8r8d1p4/Y1RuGVvTQgjLJInAp5UqasI9ut5QpefMRKSs1EAOEv 3tr/MKJEZN56rHGXkj4dYi4YBgHszd4fakGykcsk=
From: Patrick Meenan <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+AFTOJK45SDYVNOEBGP7YY5F24HCJREVBNHHBR4DCTQ@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/2502/491060502@github.com>
In-Reply-To: <quicwg/base-drafts/issues/2502@github.com>
References: <quicwg/base-drafts/issues/2502@github.com>
Subject: Re: [quicwg/base-drafts] PRIORITY frame on control stream referencing unopened request stream (#2502)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5cd4921860d3d_12a93fc8886cd960131222"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: pmeenan
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: quic-issues@ietf.org
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/BeLVzchJlBXNEeh4pWr65x1JPUc>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.29
List-Id: Notification list for GitHub issues related to the QUIC WG <quic-issues.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic-issues/>
List-Post: <mailto:quic-issues@ietf.org>
List-Help: <mailto:quic-issues-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 09 May 2019 20:48:28 -0000
Getting JavaScript and CSS "right" tends to have more of an impact on the initial page render and app interaction (faster first paint) even though there are fewer of them than images. Interlacing images works well for progressive image formats but not for, say, SVG's (though those tend to be tiny - PNG's on the other hand can be huge). IMHO, an optimal ordering looks something like this: - Serialize the CSS and blocking JS in the head - Load the visible images in parallel (simple round robin) - Serialize async (and late-body) JS and load them in parallel with non-visible images. The non-visible images might be better to serialize in document order for long-scroll pages instead of loading ALL of them in parallel If you're going to pick a default, a sequential list works much better than parallel, otherwise you get all of the images stealing bandwidth from the CSS/JS and delaying the initial render. The downside in that case is images loading one at a time instead of concurrently but it's much better than the no-render case. Discovering when something is "visible" changes over time which is the main reason reprioritization is critical. As far as late-loading high-priority resources go, Fonts are probably the clearest example since they are not discovered until layout and by the time they are discovered they are needed pretty much immediately to render the text. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/quicwg/base-drafts/issues/2502#issuecomment-491060502
- [quicwg/base-drafts] PRIORITY frame on control st… Robin Marx
- Re: [quicwg/base-drafts] PRIORITY frame on contro… Dmitri Tikhonov
- Re: [quicwg/base-drafts] PRIORITY frame on contro… Lucas Pardue
- Re: [quicwg/base-drafts] PRIORITY frame on contro… Dmitri Tikhonov
- Re: [quicwg/base-drafts] PRIORITY frame on contro… Lucas Pardue
- Re: [quicwg/base-drafts] PRIORITY frame on contro… Dmitri Tikhonov
- Re: [quicwg/base-drafts] PRIORITY frame on contro… Lucas Pardue
- Re: [quicwg/base-drafts] PRIORITY frame on contro… Mike Bishop
- Re: [quicwg/base-drafts] PRIORITY frame on contro… Robin Marx
- Re: [quicwg/base-drafts] PRIORITY frame on contro… Dmitri Tikhonov
- Re: [quicwg/base-drafts] PRIORITY frame on contro… Lucas Pardue
- Re: [quicwg/base-drafts] PRIORITY frame on contro… Mike Bishop
- Re: [quicwg/base-drafts] PRIORITY frame on contro… Martin Thomson
- Re: [quicwg/base-drafts] PRIORITY frame on contro… Lucas Pardue
- Re: [quicwg/base-drafts] PRIORITY frame on contro… Martin Thomson
- Re: [quicwg/base-drafts] PRIORITY frame on contro… Lucas Pardue
- Re: [quicwg/base-drafts] PRIORITY frame on contro… Kazuho Oku
- Re: [quicwg/base-drafts] PRIORITY frame on contro… Mike Bishop
- Re: [quicwg/base-drafts] PRIORITY frame on contro… Mike Bishop
- Re: [quicwg/base-drafts] PRIORITY frame on contro… Kazuho Oku
- Re: [quicwg/base-drafts] PRIORITY frame on contro… Robin Marx
- Re: [quicwg/base-drafts] PRIORITY frame on contro… Kazuho Oku
- Re: [quicwg/base-drafts] PRIORITY frame on contro… Kazuho Oku
- Re: [quicwg/base-drafts] PRIORITY frame on contro… ianswett
- Re: [quicwg/base-drafts] PRIORITY frame on contro… Kazuho Oku
- Re: [quicwg/base-drafts] PRIORITY frame on contro… ianswett
- Re: [quicwg/base-drafts] PRIORITY frame on contro… Patrick Meenan
- Re: [quicwg/base-drafts] PRIORITY frame on contro… Kazuho Oku
- Re: [quicwg/base-drafts] PRIORITY frame on contro… Patrick Meenan
- Re: [quicwg/base-drafts] PRIORITY frame on contro… Kazuho Oku
- Re: [quicwg/base-drafts] PRIORITY frame on contro… Kazuho Oku
- Re: [quicwg/base-drafts] PRIORITY frame on contro… Patrick Meenan
- Re: [quicwg/base-drafts] PRIORITY frame on contro… Robin Marx
- Re: [quicwg/base-drafts] PRIORITY frame on contro… Kazuho Oku
- Re: [quicwg/base-drafts] PRIORITY frame on contro… Robin Marx
- Re: [quicwg/base-drafts] PRIORITY frame on contro… Lucas Pardue
- Re: [quicwg/base-drafts] PRIORITY frame on contro… Mike Bishop
- Re: [quicwg/base-drafts] PRIORITY frame on contro… Mike Bishop
- Re: [quicwg/base-drafts] PRIORITY frame on contro… Mike Bishop