brk3 has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
Is there a way to make the www::mechanize module not load up images? If it just got the content it would make scripts that use it to load up websites just to get some info so much quicker.
If not would there be an alternitve solution?
I noticed a cache module, cache-web-lite-0.02 i think its called. Could that be used to cache the images? there doesnt seem to be any documentation for that module..
Or would there be another solution im not thinking of? (mechanize is compatible with LWP so if anyone has a solution with it im sure it would work)
Thanks!
It doesn't load anything unless you tell it to. GUI browsers fetch a URL, parse the page, and automatically load the images referenced in it. Mechanize does not.