[webkit-dev] Making browsers faster: Resource Packages

Patrick Mueller pmuellr at muellerware.org
Wed Nov 18 07:49:19 PST 2009


Alexander Limi wrote:
> Good people of Webkit!
> 
> We'd all like for the web to be faster, and therefore I'd love your feedback
> on my proposal — it would be great to see support for this in additional
> browsers, not just Firefox:
> 
> http://limi.net/articles/resource-packages/
> 
> Summary:
> 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.
> 
> Looking forward to hear your thoughts on this.

I happened to open a bug on this, early this morning:

    https://bugs.webkit.org/show_bug.cgi?id=31621

WebKit already supports something similiar - webarchive's.  Main 
difference being that webarchives contain the main resource as well as 
the sub-resources.  Perhaps some of the same machinery can be reused 
there though.

Though ... makes me wonder ... why not have a mode of supporting the 
main resource as well?  Go from two downloads down to one.  You'd just 
need a convention for specifying the "main" resource in the .zip file ...

-- 
Patrick Mueller - http://muellerware.org



More information about the webkit-dev mailing list