Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: WWW::Mechanize::Firefox latency using RemoteObject

by spx2 (Chaplain)
on Apr 04, 2011 at 07:29 UTC ( #897278=note: print w/ replies, xml ) Need Help??


in reply to WWW::Mechanize::Firefox latency using RemoteObject

  • disable all addons you don't need in the browser
  • disable images
  • disable javascript

you do that in Edit->Preferences->Content_tab

alternatively, you can consider studying the requests Firefox does for a login on that site using Firebug and replicating all those requests using LWP for example using the appopriate headers and GET/POST parameters.


Comment on Re: WWW::Mechanize::Firefox latency using RemoteObject
Re^2: WWW::Mechanize::Firefox latency using RemoteObject
by Corion (Pope) on Apr 04, 2011 at 07:31 UTC

    That won't help much because the slowness likely comes from Perl talking to Firefox and back, and not from pages being slow to load.

      well maybe there's some js doing some AJAX requests so that's why I said to disable that js. or maybe there are some ads loading .. which can also be avoided..
        Unfortunately, it isn't ad loading or javascript. This is seen on pages which are fully loaded, and even on _local_ (file:///) pages with no images or javascript. It almost entirely seems to originate in the communication somewhere between perl and firefox.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2014-08-23 19:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (178 votes), past polls