Is the web browser performance rule “only 2 requests in parallel per hostname” still correct?

前端 未结 5 888
野的像风
野的像风 2020-12-21 14:38

In his book \"High Performance Websites\" Steve Souders wrote (2007) that browsers limit parallel requests to a domain/hostname to two at a time. Is this still valid today?<

5条回答
  •  暖寄归人
    2020-12-21 15:02

    Yes, there may be some variations, but that limitation is certainly still valid. Some browsers might allow more than two parallel requests to a host, but it's still only a few.

    There may also be limitations on the server side. If you are requesting active pages, e.g. ASP/ASP.NET/PHP, they are usually limited to a single request at a time per user.

    However, with bandwith increasing this limitation has a smaller impact than it had in 2007. Eventhough you can still only do a few requests in parallel, each request is faster so the limitation is not very noticable.

提交回复
热议问题