Why the weird naming conventions for the priority stuff? Instead of critical and late, why not highest, high, low, lowest, etc.? Also, why "group" instead of "priority" for the html attribute?
@toooes7 жыл бұрын
I wonder too. I think critical and late are explicit terms whereas high/low require context to be meaningful. Edit: From the proposal: We will define a new standard importance attribute that will map to current browser priorities: critical, high, medium, low, unimportant
@srcspider7 жыл бұрын
Props for admitting to the fact that even unminified bundle (with none of the usual special sauce like code splitting) still beats loading granually but you've still omitted a lot of the problems with getting this "magic" to work. For the client to request X, Y, Z from the server the client needs to know the dependency graph (not knowing works, but is slowest since you requerst / parse / excute to find out whats next), and how exactly is the client to know this exactly? If we added a minifest file (ignoring the complexity from having one and the complexity from browsers and servers understanding them (since servers have to bundle everything for you) you have the issue that you're loading one file, then can you start loading. And even with a manifest you're still stuck in the mud when it comes to the "promise" of cherry picking and tree shacking.... that just can't happen with out having dedicated monolithic and inflexible architecture on the server that parses any and all javascript. Let's not even get into "how does the client know what files have actually changed?" with out spamming the server. A bundle is just one check, how much does making 10,000 checks cost? The "problem" you're trying to solve is a real one, however you can just as easily solve it but configuring webpack to split your stuff into more bundles. Code splitting to essentials per page is also already minimal enough that it doesn't really matter IMO (or at least you should in theory be able to get it there in 99% of real world use cases).
@gnorberg7 жыл бұрын
Fantastic presentation. Excited for the future of the web!
@filemot257 жыл бұрын
Really exciting news
@channel-vt3ib7 жыл бұрын
Hello world,these are my latest development on chrome.