[Wpack] Bundle preloading update

Felipe Erias <felipeerias@igalia.com> Thu, 11 November 2021 02:52 UTC

Return-Path: <felipeerias@igalia.com>
X-Original-To: wpack@ietfa.amsl.com
Delivered-To: wpack@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6379B3A1611 for <wpack@ietfa.amsl.com>; Wed, 10 Nov 2021 18:52:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=igalia.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 GT3U_tNpInWC for <wpack@ietfa.amsl.com>; Wed, 10 Nov 2021 18:52:17 -0800 (PST)
Received: from fanzine.igalia.com (fanzine2.igalia.com [213.97.179.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A8ED53A1613 for <wpack@ietf.org>; Wed, 10 Nov 2021 18:52:17 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Date:Message-ID:To:Subject:From:Reply-To; bh=UhBvvDX4MsrkbUgtpcmj+dqqcPrt6u8vlp4kiN1LZxM=; b=n+t/eHB5sEJUm4sJxombYRItWsy4tLUKcGcpbdpKFsU1ZzakK1bl3TGxTaxxifVc6RRKiQnCDLp/grgWVKzdHPWGQU29ZeV8Wu2RmT+nr9gbcwQVhw5zNeot5E6btAvvVSKbEMQf77HCIx/+qZm3gOpzLkUmU9bgK2CHMFd3WV4w5nAlJY9zhgLXuYfIJm6J43RNulC+3hEgZhoLM/nD7LfZniQk/R+HAmkfv9wSNFBKn0VMS80QxBuVdSB8Nk/Xk0PCI8uCnKyko6o0RSVJnFgll9Zmndq9lGA1JVQcGOgxmNrYRo2tQoB6RE72R5t+pYyKwaY9PCIYaDS4U0u13w==;
Received: from p146139-ipngn200502kyoto.kyoto.ocn.ne.jp ([124.103.242.139] helo=[192.168.2.108]) by fanzine.igalia.com with esmtpsa (Cipher TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim) id 1ml0Ce-0005qN-87 for <wpack@ietf.org>; Thu, 11 Nov 2021 03:52:40 +0100
Reply-To: felipeerias@igalia.com
From: Felipe Erias <felipeerias@igalia.com>
Organization: Igalia
To: wpack@ietf.org
Message-ID: <22886d67-8f85-3709-6e2f-5d1b6490cd03@igalia.com>
Date: Thu, 11 Nov 2021 11:52:02 +0900
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-GB
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/wpack/ZWFmUNr_QDh3fNUx6lDM-Z8Dy3E>
Subject: [Wpack] Bundle preloading update
X-BeenThere: wpack@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Web Packaging <wpack.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/wpack>, <mailto:wpack-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/wpack/>
List-Post: <mailto:wpack@ietf.org>
List-Help: <mailto:wpack-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/wpack>, <mailto:wpack-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 11 Nov 2021 02:52:23 -0000

Hello,

Thank you to everybody involved in organizing yesterday's meeting at 
IETF112.

My slides about our work on bundle preloading should soon be available 
at https://datatracker.ietf.org/meeting/112/session/wpack

As a small summary for those that could not attend, here are the highlights:

- a explainer for our proposal is available at
   * https://github.com/WICG/bundle-preloading

- ongoing effort to converge with the work by the Chromium team
   * https://github.com/WICG/webpackage/issues/699

- the Node.js module for creating and reading Web Bundles has been 
updated to the latest version of the spec
   * https://www.npmjs.com/package/wbn
   * https://github.com/WICG/webpackage/tree/main/js/bundle

- we have a working prototype in JS of Bundle Preloading:
   * the client uses a service worker to request a list of
     bundled resources and cache them one by one;
   * the server is able to serve bundles on the fly containing
     a subset of the resources in the reference bundle file;
   * we have created a couple of simple examples and are
     very interested in hearing about other scenarios that
     people might want to try out;
   * https://github.com/WICG/bundle-preloading/tree/main/prototypes


Future steps:

- better integration with bundler tools (e.g. webpack);
- early benchmarking;
- develop more examples.


Thanks again and best regards,
Felipe