[widgets] FW: [whatwg] FYI: Mozilla's Resource Packages

fyi
________________________________________
From: whatwg-bounces@lists.whatwg.org [whatwg-bounces@lists.whatwg.org] On Behalf Of Anthony Bryan [anthonybryan@gmail.com]
Sent: Friday, November 20, 2009 11:18 PM
To: whatwg@lists.whatwg.org
Subject: [whatwg] FYI: Mozilla's Resource Packages

More info at http://limi.net/articles/resource-packages/ and
discussion at http://groups.google.com/group/mozilla.dev.platform/browse_thread/thread/31779262c6b05205
and a few responses on the HTTPbis list.


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

________________________________________

Access Systems Germany GmbH
Essener Strasse 5  |  D-46047 Oberhausen
HRB 13548 Amtsgericht Duisburg
Geschaeftsfuehrer: Michel Piquemal, Tomonori Watanabe, Yusuke Kanda

www.access-company.com

CONFIDENTIALITY NOTICE
This e-mail and any attachments hereto may contain information that is privileged or confidential, and is intended for use only by the
individual or entity to which it is addressed. Any disclosure, copying or distribution of the information by anyone else is strictly prohibited.
If you have received this document in error, please notify us promptly by responding to this e-mail. Thank you.

Received on Friday, 20 November 2009 22:32:41 UTC