sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

how to use HTTP/2 protocol for O365 CDN Traffic?

Open annigam01 opened this issue 8 years ago • 2 comments

Even though the O365 CDN support HTTP/2 protocol, i couldnt see anywhere in SPFx or any setting where we can "request" content via HTTP/2 protocol. https://developer.microsoft.com/en-us/office/blogs/general-availability-of-office-365-cdn/


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

annigam01 avatar Sep 30 '18 10:09 annigam01

You cannot force to use HTTP/2 because this is something the browser and the server handles.

If you browser is capable of HTTP/2 this does not mean that the traffic use HTTP/2 when the server does not support it. On the other hand when your browser does not support HTTP/2 but your server does you cannot force to everything transferred via HTTP/2.

This basically mean that you cannot "Request" HTTP/2 your browser have to request. You see this in only in the network trace of you browser.

screenshot 2018-10-01 at 09 44 25

This for example shows the traffic and protocols used to a communication site in SharePoint. More on that: https://ma.ttias.be/view-http-spdy-http2-protocol-google-chrome/

It can even happen that you see assets requested via HTTP/1.1 in there.

StfBauer avatar Oct 01 '18 07:10 StfBauer

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

msft-github-bot avatar Jan 26 '20 12:01 msft-github-bot