Cov txheej txheem:

Kuv yuav ua li cas qhib http2 hauv Chrome?
Kuv yuav ua li cas qhib http2 hauv Chrome?

Video: Kuv yuav ua li cas qhib http2 hauv Chrome?

Video: Kuv yuav ua li cas qhib http2 hauv Chrome?
Video: Plab Plab Ntswg..(Pluav Pluav Ntswg) Maiv Twm New Song 2023-2024 2024, Kaum ib hlis
Anonim

Rau pab H2 kev them nyiaj yug, hom chrome // chij/# pab -spdy4 hauv qhov chaw nyob bar, nyem qhov " pab "link, thiab rov pib dua Chrome.

Tsis tas li ntawd, kuv yuav siv http2 hauv Chrome li cas?

Yuav ua li cas pab tau HTTP/2 - SPDY 4 nyob rau hauv Chrome . Mus rau qhov chrome //flags nplooj ntawv (Kuv tsis tuaj yeem txuas ncaj qha rau nws, vim qhov browser yuav tsis tso cai txuas ncaj qha rau nplooj ntawv teeb tsa) hauv koj qhov Chrome browser. Nrhiav rau HTTP/2 . Nrhiav qhov kev xaiv hu ua Enable SPDY/4.

Ib yam li ntawd, kuv tuaj yeem qhia tau li cas yog tias Chrome siv http2? Kuaj HTTP2 Kev sib txuas siv Chrome Cov HTTP/2 extension yuav ntxiv ib qho taw qhia khawm ntawm sab xis saum toj ntawm lub vijtsam. Qhov taw qhia khawm yog nyob rau hauv cov duab ntawm ib tug xob laim. Yog qhov taw qhia xob laim yog grey, nws txhais tau tias lub vev xaib tsis txhawb nqa HTTP2.

Ces, kuv yuav ua li cas pab

Txhawm rau qhib HTTP / 2 hauv Apache koj yuav tsum ua kom tiav cov cai hauv qab no:

  1. Ua ntej, koj yuav tsum qhib HTTPS ntawm koj lub server. Txhua qhov browser loj tso cai siv HTTP / 2 tsuas yog dhau
  2. Tom ntej no, xyuas kom meej tias koj tab tom khiav Apache 2.4.
  3. Tsis tas li, xyuas kom meej tias koj cov neeg siv khoom / browser tiag tiag txhawb HTTP / 2.

Kuv yuav paub li cas yog tias http2 tau qhib?

Qhov no yog txoj hauv kev nrawm los kuaj xyuas HTTP / 2 kev txhawb nqa ntawm ib lub vev xaib tshwj xeeb

  1. Mus saib tool.keycdn.com/http2-test.
  2. Sau lub hostname ntawm lub vev xaib koj xav kuaj thiab nyem "Test". Piv txwv ntawm Kev Tshawb Fawb Ua tiav:

Pom zoo: