In the proxy server assignment, do we have to use sockets and do all the programming our selves, or can we use some of the other classes like HttpURLConnection to makes the connections?
A. You must use the TCP conection-oriented sockets to provide the connection between your cache-server and the web clients and servers. You may use any of the classes that are available to do this. • Q. Writing a browser as an extension seems to be too difficult. Are there other extensions I could write? A. Besides the ones listed on the assignment sheet, you could also a) include log files for your proxy server. These log files could i) record every cache object written to disk, or ii) keep records of how long files are kept in the cache including an analysis of max. time, min. time and average time for files to be stored in cache. You could also determine a ratio of hits/misses. b) You could prefetch “popular” files during slow times and store them in the cache. • Q. Do I need to worry about reading in images? A. Yes, when you read an html document, more than likely that document will reference one or more images. The client (browser) will parse the html and send a GET for each of th
Related Questions
- In the proxy server assignment, do we have to use sockets and do all the programming our selves, or can we use some of the other classes like HttpURLConnection to makes the connections?
- What is proxy server setting and how to implement through using java coding explain detaily with code?
- What is a good free proxy server that I can surf the web anonymously?