Re: [squid-users] Caching compressed javascripts.

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 11 Oct 2005 02:08:59 +0200 (CEST)

On Mon, 10 Oct 2005, [iso-8859-1] Lasa Ramírez, Ińigo wrote:

> Hello:
>
> We have seen that compressed objets (like javascripts) which are cached by squid, are downloaded in blocks of 4 KB.
>
> When we take a trace, we can see that the download is done in blocks of three packets: two packets of 1500 bytes and last one is not completed.
>
> Anyone knows how changing this, so that squid sends all packets completed?

A more accurate question is how to tune your OS to correctly use the Nagle
algorithm to avoid sending partial TCP packets.

But I guess we could add some logics using TCP_CORK on cache hits to
enforce this if OS tuning is too hard. Have added an experimental patch
for this in Bug #1423.

Regards
Henrik
Received on Mon Oct 10 2005 - 18:09:05 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Nov 01 2005 - 12:00:04 MST