跳轉到內容
View in the app

A better way to browse. Learn more.

PHP論壇人

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

HTTP/3 QUIC 與 HTTP/2 速度比較

精選回覆

發表於

-----------------------------------
HTTP/3 QUIC 與 HTTP/2 速度比較
-----------------------------------

目前,論壇運行HTTP/3 QUIC

可以在這兩個測試網站,做測試

HTTP/3 Check
https://http3check.net

HTTP/3 QUIC 在线测试
https://http3.wcode.net

01.png

 

 

02.png

 

 

----------------
HTTP/3 QUIC
----------------

在瀏覽器,瀏覽論壇首頁,瀏覽器按F12,看看速度是 xx ms

測了幾次,大約 539ms
底下是寫 載入:773ms

03.h3.png

 

 

 

 


--------------------------
將論壇改為運行HTTP/2
--------------------------

修改 域名.com.conf
vi /etc/nginx/sites-available/域名.com.conf

尋找
server {
    listen 443 ssl;
    listen [::]:443 ssl;
    listen 443 quic reuseport;
    listen [::]:443 quic reuseport;

然後,註解掉 底下那兩行 443 quic

server {
    listen 443 ssl;
    listen [::]:443 ssl;
    # listen 443 quic reuseport;
    # listen [::]:443 quic reuseport;

 

ESC儲存並離開
:wq

 


重新加载Nginx
nginx -t

nginx -s reload

 

 


再來測試論壇是否沒有運行HTTP/3

可以在這兩個測試網站,做測試

HTTP/3 Check
https://http3check.net

HTTP/3 QUIC 在线测试
https://http3.wcode.net

04.h2.png

 

 

05.h2.png

 

 

在瀏覽器,瀏覽論壇首頁,瀏覽器按F12,看看速度是 xx ms
測了幾次,大約 528ms
底下是寫 載入:778ms

06.h2.png

 

 

結論:速度差距不大

 

建立帳號或登入後發表意見

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.