htmlhttp-headerspingdom

how do I fix Blocked state in pingdom test results?


I am getting (Blocked Web browser is not ready to send) on pingdom on all my scrips and images in the page. What is coursing this? and is it something I can do about it?

img


Solution

  • As Nathan said, browsers have a hard limit for concurrent connections per hostname; Chrome I think is about six. You have three approaches: to work around that limit, to increase it, or to make it irrelevant.

    1. You can combine all your assets so the need for request matches the browser limit (minify css, combine JS etc.)

    2. You can "increase" the limit by using domain sharding, that means to load your assets from different subdomains for example.

      images.yourdomain.com
      css.yourdomain.com
      

      The problem is that this increases DNS resolution times, so it's convenient only in certain situations.

    3. You can enable protocols like http2 which opens one connection per domain, but internally uses a multiplexing feature allowing it to make a much larger number of requests, depending on how that limit was negotiated between the client and the server.