Generic Bundling

Russell Leggett russell.leggett at gmail.com
Mon Oct 14 14:32:51 PDT 2013


This is probably the wrong place to ask the question, but I was just
thinking about the whole HTTP 2 server push thing. In a way, it surely wins
in the # of requests camp if it works as described - you request index.html
and the server intelligently starts pushing you not only index.html, but
also everything index.html needs. Even in the case of bundling, you at
least need to wait for index.html to come back before you can ask for the
bundle. And even better, because it sends everything in original granular
form, surely the caching story must be better, you won't wind up
overbundling or having overlapping bundles. Then I realized a major
(potential) flaw. If the server always pushes the dependencies for
index.html without being asked - doesn't that completely wreck the browser
cache? Browser caching relies on knowing when - and when *not* to ask. If
server push starts sending things without being asked, isn't that
potentially sending down a lot of unnecessary data?

- Russ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20131014/e8411751/attachment.html>


More information about the es-discuss mailing list