--nextPart3271971.HZgMdaTGV5 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Stephan Kulow wrote: >Am Donnerstag, 7. Dezember 2006 18:51 schrieb Thiago Macieira: >> If the server doesn't support connection keep-alive, you should fix >> it. > >Isn't fixing the web _and_ your DNS servers asked a bit too much? > >What is so problematic about implementing a DNS cache within KDE >if it turns out to be a problem for soo many people setting up one > correctly? Like I said, this was a very corner case: a webpage with 180 items on it,=20 coupled with the absence of connection keep-alive, multiple webservers=20 (including ads and that kind of stuff) and a slow DNS server. No wonder it was slow. I will not implement a global DNS cache on KDE because there already is a=20 program that does that and for the whole system: nscd. Just install it.=20 There is no need to import the nscd code into kded. That said, one of the ideas I had for KDE 4 was to be a global connection=20 broker for KIO. That would avoid round-robin DNS errors. IIRC, the=20 original bug report that led to that idea was a hostname for an FTP=20 server that led to two different servers, which had slightly different=20 layouts. Sometimes downloads would work, sometimes they unpredictably=20 wouldn't, because KIO would reconnect and end up at the wrong server. The solution was to have all lookups go through a centralised daemon=20 (kded) and the results -- IPs -- be shared among the ioslaves in a very=20 specific and controlled order. =2D-=20 =A0 Thiago Macieira =A0- =A0thiago (AT) macieira.info - thiago (AT) kde.org =A0 =A0 PGP/GPG: 0x6EF45358; fingerprint: =A0 =A0 E067 918B B660 DBD1 105C =A0966C 33F5 F005 6EF4 5358 --nextPart3271971.HZgMdaTGV5 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQBFeTI4M/XwBW70U1gRAmyDAKC4SUEVW3ZDBJo9otbFfzV5DHIZ0ACgoiVU Z2mQBlGVyMXoABFnQniFfCI= =JSgX -----END PGP SIGNATURE----- --nextPart3271971.HZgMdaTGV5--