http://www.perlmonks.org?node_id=823627


in reply to LWP::UserAgent lengthy download

Browsers have this ability to avoid downloading images ....

Replies are listed 'Best First'.
Re^2: LWP::UserAgent lengthy download
by jonnyfolk (Vicar) on Feb 17, 2010 at 10:18 UTC
    But is this available in LWP::UserAgent - I can't find reference to it.

      If you don't make an explicit request for an image (URL), LWP::UserAgent won't download the image. That's how HTTP works.

        Hi, thanks for your response. I'm trying to understand what is happening. From what you are saying contrary to viewing from a browser, it is unlikely that the delay is being caused by having to wait for images to download as there is no specific request - or is there?

        $resp = $ua->get("http://mysite.net.net/etc;