From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/78719 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.gnus.general Subject: Re: Asynchroneous image retrieval in HTML rendering Date: Thu, 05 May 2011 16:59:01 +0200 Message-ID: References: <87bozwfw84.fsf@gmail.com> <87r58ll8jm.fsf@gmail.com> <87liys4x04.fsf@gmail.com> <87tydewilm.fsf@gmail.com> <87liyp35fy.fsf@gmail.com> <87k4e92eyx.fsf@gmail.com> <87k4e5h18p.fsf@lifelogs.com> <87tyd9jt0r.fsf@gmail.com> <87vcxp1aj4.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1304607558 6290 80.91.229.12 (5 May 2011 14:59:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 5 May 2011 14:59:18 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M27021=ding+2Daccount=gmane.org@lists.math.uh.edu Thu May 05 16:59:13 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QI01J-0001CT-8X for ding-account@gmane.org; Thu, 05 May 2011 16:59:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1QI01I-0004en-Ex for ding-account@gmane.org; Thu, 05 May 2011 09:59:12 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1QI01H-0004eh-4y for ding@lists.math.uh.edu; Thu, 05 May 2011 09:59:11 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1QI01G-0007am-0x for ding@lists.math.uh.edu; Thu, 05 May 2011 09:59:11 -0500 Original-Received: from v3-1008.vxen.de ([79.140.41.8]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1QI01E-00008T-5r for ding@gnus.org; Thu, 05 May 2011 16:59:08 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=randomsample.de; s=a; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:To:From; bh=cxC/EaoJ8A6RfLEY2z35N6iptE3iIxlBW+/oYkgyTSQ=; b=h46lh3Y6L+vdpXw4tIvOTOivzaMNnx2NDvgohpeq/JyCuFc6LUPyocPodya4M00MbTD/8W9e96CEZURJHTdQNio2BMroQj6Y6guROuG/0ivn7OK/EgWyGXN7vcyj6oCj; Original-Received: from [134.76.4.230] (helo=imac.local) by v3-1008.vxen.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1QI01C-0006sX-W5 for ding@gnus.org; Thu, 05 May 2011 16:59:07 +0200 In-Reply-To: <87vcxp1aj4.fsf@gmail.com> (Antoine Levitt's message of "Thu, 05 May 2011 16:34:23 +0200") User-Agent: Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (darwin) Mail-Followup-To: ding@gnus.org X-Spam-Score: -2.0 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:78719 Archived-At: Antoine Levitt writes: > 05/05/11 16:25, David Engster >> Antoine Levitt writes: >>> Maybe your connexion or DNS servers are better than mine, or some other >>> parameter is different, but I definitely experienced freezes that were > >>> DNS-related. Lars also pointed out explicitely resolving the DNS in >>> /etc/hosts sped things up immensely for gwene.com.wordpress.terrytao, so >>> you could try this if you're not convinced by my admitedly >>> non-repeatable arguments. >> >> I have a question though. You've said in your OP that you got a smooth >> display with emacs-w3m, but I'm guessing it didn't display all the >> images at once, right? Emacs-w3m is pretty neat in that respect: it >> immediately displays the text content, and then in the background >> (slowly) replaces the alt-text with the images, so you can immediately >> start reading. > > That's right. shr is supposed to do the same thing, and I think the only > thing standing in its way is DNS resolving. (but I wouldn't bet money on > it) I only skimmed through the code, but I think it only does that for cid: URLs? Lars should answer this. The thing is: you don't always know what you'll get. Look at the terrytao source, and you'll see that the images are dynamically generated through a PHP script. You can only see in the receiving content type that this is actually a PNG. -David