[webkit-dev] Making browsers faster: Resource Packages

Anthony RICAUD rik24d at gmail.com
Tue Nov 17 17:08:57 PST 2009


I don't see much value in this proposition.

For CSS and JS, people will need to run a script to generate the ZIP
file. That's what they already do when combining files. And they get
more value by combining since they get performance improvements for
all browsers, not just the one supporting resource-packages.

For CSS Sprites, the W3C is working on making it better with
http://www.w3.org/TR/css3-images/. Maybe you should put some efforts
on this spec. And again, with the actual situation, the code is maybe
ugly but you get performance benefits for all browsers.

The only benefit would eventually be for inline images. But you can't
generate a static ZIP file for such moving content so I don't see a
lot of persons taking advantage of this proposition for that kind of
content. Thinking out loud, maybe something like <img src="file.png"
from="file.zip"> would be more appropriate for that particular kind of
content. This way, browsers now upfront if a file can be found in a
package.

I sure like the idea of trying to reduce the number of HTTP requests,
but I don't think it's the right solution.

On Tue, Nov 17, 2009 at 11:19 PM, Alexander Limi <limi at mozilla.com> 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.
>
> Thanks!
>
> --
> Alexander Limi · Firefox User Experience · http://limi.net
>
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
>


More information about the webkit-dev mailing list