Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

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 (Patriarch) 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
Domain Nodelet?
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 cooling their heels in the Monastery: (3)
As of 2022-12-03 08:56 GMT
Find Nodes?
    Voting Booth?

    No recent polls found