[erlang-questions] web proxy

Tuncer Ayaz tuncer.ayaz@REDACTED
Tue Sep 1 12:05:10 CEST 2015


On Tue, Sep 1, 2015 at 9:54 AM, Joe Armstrong wrote:
> Hello,
>
> I want to record all traffic between my browser and the Internet.
>
> What I want is a record of
>
>     1) the request
>     2) the number of bytes in the response
>     3) some timing data
>
> When I fetch a web page.
>
> I'd like this data (if possible) in the form of event messages being sent
> to an Erlang program.
>
> Why do I want this?
>
> I was horrified by reading
> http://blog.lmorchard.com/2015/07/22/the-verge-web-sucks/
> and wanted to accurately record exactly how much data is involved when
> I request a web page. The I want see how much is content and how much
> is crap.
>
> Any ideas

Browsers have (developer) profiling tools, which allow you to
inspect the network traffic from the client's view. That should do the
trick.



More information about the erlang-questions mailing list