Application Layer

2.2 The Web and HTTP

Home
Introduction
2.1 Principles of Network Applications
2.1.1 Network Application Architectures
2.1.2 Processes Communcating
2.1.3 Application-Layer Protocols
2.1.4 What Services Does an Application Need?
2.1.5 Services Provided by the Internet Transport Protocols
2.2 The Web and HTTP
2.2.1Overview of HTTP
2.2.2 Nonpersistent and Persistent Connections
2.2.3 HTTP Message Format
2.2.4 User-Server Ineraction: Cookies
2.2.5 HTTP Content
2.2.6 Web Caching
2.2.7 The Conditional GET
2.3 File Transfer: FTP
2.3.1 FTP Commands and Replies
2.4 Electronic Mail in the Internet
2.4.1 STMP
2.4.2 Comparison with HTTP
2.4.3 Mail Message Formats and MIME
2.4.4 Mail Access Protocols
2.5 DNS--The Internet's Directory Service
2.5.1 Services Provided by DNS
2.5.2 Overview of How DNS Works
2.5.3 DNS Records and Messages
2.6 P2P File Sharing
2.7 Socket Programming with TCP
2.7.1 Socket Programming with TCP
2.7.2 An Example Client/Server Application in Java
2.8 Socket Programming with UDP

2.2.6 Web Caching

A Web-cache--also called a proxy server--is a network entity that satisfies HTTP requests on the behalf of an orgin Web server.  The Web cache has its own disk storage and keeps copies of recently requested objects in this storage.  A user's browser can be configured so that all of the user's HTTP request are first directed to the Web cache.  Once a browser is configured, each browser request for an object is first directed to the Web cache.
 
A cache is both a server and a client at the same time.  When it receives requests from and sends responses to a browser, it is a server.  When is sends requests to and receives responses from an origin server, it is a client.

kurose_320719_c02f10.gif

Web caching has seen development in the Internet for two reasons:

  1. A Web cache can substantially reduce the response time for a client request, particularly if the bottleneck bandwidth between the client and the origin server is much less than the bottleneck bandwidth between the client and the cache.
  2. Web caches can substantially reduce traffic on an institution's access link to the Internet.  By reducing traffic, the institution does not have to upgrade bandwidth as quickly, thereby reducing costs.  A Web caches can substantially reduce Web traffic in the Internet as a whole, thereby improving performance for all applications.
 
 

kurose_320719_c02f11.gif