Skip to Content
Web Caching and Replication
book

Web Caching and Replication

by Michael Rabinovich, Oliver Spatscheck
December 2001
Intermediate to advanced
400 pages
12h 2m
English
Addison-Wesley Professional
Content preview from Web Caching and Replication

5.9. Learning the Proxy Chain

A client may want to know the chain of proxies its requests take on their way to origin servers. As we show in Chapter 8, a proxy in some cases affects (or even disrupts) the service clients receive from certain Web sites; it is therefore important that a client be aware of the existence of the proxy so that the client can use appropriate request headers to go directly to the origin servers in such situations.

HTTP 1.1 provides a via header and a TRACE request method, which together allow the client to know if a proxy exists. The via header keeps track of proxies and protocol versions involved in transferring the request from the client to the server. Every proxy that processes the request must append an entry to ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Scaling Applications with Caching, Sharding, and Replication

Scaling Applications with Caching, Sharding, and Replication

Peter Zaitsev

Publisher Resources

ISBN: 0201615703Purchase book