a caching proxy server that handles HTTP traffic is implemented. The major features of the proxy server are:
-A robust caching mechanism is included. It gives preference to the documents that must be loaded over the slowest internet links so that the users will have to wail for lesser amount of time. For achieving this, an estimate of the bandwidths of the ocal server and remote servers, connection times to remote servers etc are included.
-In order to allow the concurrent handling of several HTTP requests, multithreading feature is also included.
-The initialization and shut-down routines are strong so that the data can be recovered after a crash.
-a list of servers can be defined whose traffic will not be cached by the proxy.
-all unfulfilled requests will be forwarded to a proxy which can be specified.
-A graphical user interface that displays the log area, a pie chart of cache hit and misses. The proxy can be configured by the GUI.
The proxy server is implemented using java and is hence cross platform portable.
Get the source code here:
http://cs.technion.ac.il/Labs/Lccn/proje...oad%20area
also see:
http://planet-source-codevb/scripts/ShowCode.asp?txtCodeId=6762&lngWId=3