Re: [w3c/webcomponents] HTML Modules (#645)

> The library could implement its own deduplicator.

It's not necessarily a deduplication thing, it's the fact that the module first exists as a string, then has to be parsed into the internal structure, and then accessed, instead of just letting the DOM handle it all properly and more quickly.


> I don't see how Push is relevant to this, that's part of the network layer underneath.

I'm speaking of the server being able to push the modules with the initial request, via a DOM loading event the browser would use the pushed file (thus no extra network requests), would the javascript do the same (use the already pushed module) or does javascript network access bypass HTTP/2 Push?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/645#issuecomment-391092343

Received on Tuesday, 22 May 2018 18:24:14 UTC