[dev] Using compression through squid takes forever

Jan Schneider jan at horde.org
Thu Feb 12 02:11:08 PST 2004


Zitat von Bernard Blackham <b-horde at blackham.com.au>:

> I was running into a problem where pages would hang for 15 seconds
> before they loaded but only when using a proxy server. I've tracked
> the problem down to compression.
>
> If a page is requested with a keep-alive (as is done by squid), then
> the reply will be sent with a Content-length header of the original
> text, but the actual length of the output is the length of the
> compressed page. Squid will sit there waiting for more data, keeping
> the client in suspense, until it times out.
>
> Typical conversation is below.
>
> Client -> Squid :
>
> GET 
> http://bhorde.cwis.uwa.edu.au/bhorde/services/javascript.php?file=open_compose_win.js&app=imp 

Does this only happen with javascript.php?

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - Neue Wege des Lernens
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the dev mailing list