Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: LWP::UserAgent lengthy download

by Anonymous Monk
on Feb 17, 2010 at 07:08 UTC ( #823627=note: print w/replies, xml ) Need Help??


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;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://823627]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2021-10-21 14:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (83 votes). Check out past polls.

    Notices?