Subresource Bundle Demo
This page loads its subresources with a single web bundle on
supporting browsers and otherwise smoothly falls back to sending
separate network requests for each resource. In the first case the
background will be pink, otherwise it will be blue—this is just
for the demo, since normally you'd want identical resources in the two
cases.
This page was loaded without javascript.
The bundle, subresources.wbn
, was created from contents.har
with the command gen-bundle
-har contents.har -o subresources.wbn
. I needed to add
application/webbundle wbn;
to nginx's
mime.types
to get it to serve with the correct MIME type.
More Details