On Thu, 14 March 2002, josh prince wrote

> difference?  How can I make the query as fast as the
> browser?
> 

See thread earlier today regarding JavaScript & LWP.
One key is to carefully analyze the HTTP headers that
are being exchanged by the GUI browser & the server, &
emulate as closely as possible in your LWP user agent.

If you're on a slow connection, I'd pay particular
attention to "accept-encoding" and "content-encoding"
headers. The server may be compressing the data to the
browser to speed up the download. If this is the case,
it can't do this for your LWP user agent unless you
send it the right accept-encoding header. Of course,
then you need code to correctly uncompress the data. 

-David Carter
[EMAIL PROTECTED]


Reply via email to