Lesson 9 (Web Proxy Server)
Lesson 9 (Web Proxy Server)
• In these cases, the web proxy server can retrieve any desired files
for them.
Caching Documents
• Caching documents means keeping a copy of internet documents
so that the server doesn't need to request them over again.
• It is more effective with the web server than for the client.
-saves disk space because only one copy needs to be cached.
• In order to use a web proxy server, the proxy server must channel a
browser’s request.
• Most browsers allow users to configure them so they send their
requests directly to a proxy server.
• For certain browsers, users can ID a proxy server by identifying the
server’s domain name or IP address.
• Browsers will not send their request to a proxy server unless users
configure their browser to look for the proxy server.
An Ordinary Web Transaction
via Server
Scenario 1:
• user A requests a web page (using
Netscape for example)
• the request goes to the proxy
server
• the proxy server checks to see if the
document is stored in the cache
• the document is not in the cache so
the request is sent to the Internet
• the proxy server receives the
request, stores (or caches) the page
• the page is sent to user A where it is
viewed
Caching a Document on
a Proxy Server
Scenario 2:
• user B request the same page
as user A (i.e. resource.com)
• the request goes to the proxy
server
• the proxy server checks its
cache for the page
• the page is stored in the cache
• the proxy server sends the page
to user B where it is viewed
• no connection to the Internet is
required
Managing Cached Documents
• Many documents available on the Internet are “living” documents.
• Determining when documents should be updated or deleted can be
a difficult task.
• Some documents can remain stable for a very long time and then
suddenly change.
• Other documents can change weekly or on a daily basis.
• You need to decide carefully how often to refresh or delete the
documents held in the cache.
Http://libmain.stfx.ca/gbertran/proxy2.htm
Http://vms.process.com/~help/helpproxy.html
Source:
• https://www.presentica.com/ppt/93269/web-proxy-server