Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

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

by spx2 (Deacon)
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

Replies are listed 'Best First'.
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?

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2016-10-21 21:35 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (291 votes). Check out past polls.