HTTP vs HTTPS performance

后端 未结 22 2029
说谎
说谎 2020-11-22 10:30

Are there any major differences in performance between http and https? I seem to recall reading that HTTPS can be a fifth as fast as HTTP. Is this valid with the current g

22条回答
  •  死守一世寂寞
    2020-11-22 10:53

    There seems to be a nasty edge case here: Ajax over congested wifi.

    Ajax usually means that the KeepAlive has timed out after say 20 seconds. However, the wifi means that the (ideally fast) ajax connection has to make multiple round trips. Worse, the wifi often loses packets, and there are TCP retransmits. In this case, HTTPS performs really really badly!

提交回复
热议问题