W3C home > Mailing lists > Public > ietf-http-wg@w3.org > October to December 2009

FYI: Mozilla's Resource Packages

From: Anthony Bryan <anthonybryan@gmail.com>
Date: Tue, 17 Nov 2009 09:49:56 -0500
Message-ID: <bb9e09ee0911170649ka76db67x6a019e3cbab707a1@mail.gmail.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
http://limi.net/articles/resource-packages/

Making browsers faster: Resource Packages

A proposal to make downloading web page resources faster in all browsers.

Introduction & Rationale

What if there was a backwards compatible way to transfer all of the
resources that are used on every single page in your site — CSS, JS,
images, anything else — in a single HTTP request at the start of the
first visit to the page? This is what Resource Package support in
browsers will let you do.

Implementation

While Zip files do not have not the most elegant or efficient packing
format out there, they have the following very desirable traits:

    * Easily available reference implementations.
    * Can be unpacked even in partial state — which means that we can
stream the file, and put CSS and JavaScript first in the archive, and
they will unpacked and made available before the entire file has been
downloaded.
    * Excellent toolchain support, zip/unzip is available on all major
platforms, so it’s easy for web developers to use.

We propose this markup to signal a zipped resource package:

<link rel="resource-package"
      type="application/zip"
      href="site-resources.zip" />


-- 
(( Anthony Bryan ... Metalink [ http://www.metalinker.org ]
  )) Easier, More Reliable, Self Healing Downloads
Received on Tuesday, 17 November 2009 14:50:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 06:51:13 GMT