Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

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
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: (6)
As of 2015-10-06 07:38 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (139 votes), past polls