0

I would like to have a lightning fast website, which is focussed on mobile. Therefore I would like to inline as much graphics, styles and scripts as possible and only use one or two fast HTTP-Requests to display the first part of the page.

My question is how much can I inline, how big may my document get until it gets divided.

As I know so far HTTP uses TCP to send the IP Packets and TCP has a window how far the last send and highest acknowledged Packet may be appart and it scales this window.

But how much payload can be transported, before the server has to wait for an ACK of my client in worst case (first window send, no ACKs received yet). And what does it depend to, the browser, the OS, the device?

4

1 に答える 1

1

しかし、最悪の場合 (最初のウィンドウが送信され、ACK がまだ受信されていない)、サーバーがクライアントの ACK を待たなければならない前に、どれだけのペイロードを転送できるか。また、ブラウザ、OS、デバイスなど、何に依存しているのでしょうか?

これは、レシーバーのソケット受信バッファーのサイズによって異なります。

于 2013-08-08T22:09:00.673 に答える