Thanks, Otto! As someone who used to work on mod_pagespeed I wanted to give a bit more context on how web bundles improve on what is possible for automatic site optimization tools like mod_pagesped:
1. Combining many small images into a single file otherwise requires spriting (with css to identify which area of the image you want for each usage) and mod_pagespeed's ability to do that automatically (sprite_images filter <https://www.modpagespeed.com/doc/filter-image-sprite>) is limited. It needs to understand the site's css and the publisher needs to have already set their css up to minimize the changes required. With bundles it is much simpler: you put all the tiny image files in the bundle, and you rewrite the URLs to point into the bundle. 2. Combining many small css or js files into a single file (combine_css <https://www.modpagespeed.com/doc/filter-css-combine>, combine_js <https://www.modpagespeed.com/doc/filter-js-combine>) requires hacks to prevent invalid css or js from breaking the rest. It's reasonably common that publishers will have <link rel=stylesheet href=invalid.css> that doesn't parse, and if you blindly concatenate with other css you will change the layout on the page. Since automatic site optimization tools like mod_pagespeed want to make the site load faster without making any changes to how the site looks, that isn't acceptable. Same issue with js. 3. Today you need to have separate files for combined images, css, and js. With web bundles there can be just one. Jeff On Friday, May 20, 2022 at 1:11:16 PM UTC-4 Otto van der Schaaf wrote: > As a maintainer of mod_pagespeed <https://www.modpagespeed.com/>, I would > love to see this ship. > > > On Wednesday, May 4, 2022 at 5:42:15 PM UTC+2 slightlyoff via Chromestatus > wrote: > >> Microsoft would like to see this ship ASAP. LGTM1 >> > -- You received this message because you are subscribed to the Google Groups "blink-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscr...@chromium.org. To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/45f97f97-7db0-42ee-bea8-d01ddb344ba6n%40chromium.org.