We have three types of servers and two tasks.
Servers:
1. Client Server (Our laptop or PC)
2. EDGE Server (Other Laptop or Desktop)
3. Web Server (web site we want to download)
Task 1:
We need to write a program in order to download the entire webpage with local pages on to the client server by sending request from client server to web server.
Task 2:
This program is to send the request from client server to EDGE server to download the same page on to the client server.
Procedure for task 2:
1. Client server sends the request to EDGE server.
2. EDGE server makes request to the web server and downloads it sends back to the client server.
3. EDGE server once download the webpage on to it and retrieves the same to the client server on multiple request from it. i.e. stores the web page in it and never ask the web server for that page.
We should access the web page on client server without internet.