magento-rjs-config icon indicating copy to clipboard operation
magento-rjs-config copied to clipboard

Is this necessary if HTTP2 is enabled

Open rossmc opened this issue 6 years ago • 2 comments

Just wondering if this will be necessary if you're using HTTP2? https://http2.github.io/faq/#why-is-http2-multiplexed

Any thoughts?

rossmc avatar Sep 28 '18 16:09 rossmc

Yes. It helps to set some critical code to load first. By default in Magento2 you can wait longer for having interactive menu (especially on mobile). Using this you can tweak things like that.

Januszpl avatar Oct 05 '18 01:10 Januszpl

Even with HTTP/2 you will still have a lot of latency waiting for each script to load. In addition, Chrome and FF limit the number of concurrent requests. Not sure about other browsers but I know in those two you will see a notice after (I think) 30 concurrent requests.

joshuaadickerson avatar Nov 28 '18 21:11 joshuaadickerson