Minimizing the traffic
-
Hi I want to minimize the traffic as much as possible. Since most of the traffic is in plain text, I think compressing the traffic will help. This is the idea I came up with: 1. WebBrowser creates a request to the web server, The request will be send through the Proxy Program on the computer. 2. Proxy program on the computer compresses all the requests to be made to the web server, and sends it to "MyProxy.php" on my server. 3. "MyProxy.php" decompresses the request and sends it to the web server. "MyProxy.php" recieves the response from the web server, compresses it, and returns it to the Proxy Program on the computer. 4. The Proxy Program decompresses the response and returns it to the WebBrowser. 5. The WebBrowser shows the response to the user. Please see the figure[^] for more info. Do you think that's a good idea? Would it minimize the traffic by any percent?
-
Hi I want to minimize the traffic as much as possible. Since most of the traffic is in plain text, I think compressing the traffic will help. This is the idea I came up with: 1. WebBrowser creates a request to the web server, The request will be send through the Proxy Program on the computer. 2. Proxy program on the computer compresses all the requests to be made to the web server, and sends it to "MyProxy.php" on my server. 3. "MyProxy.php" decompresses the request and sends it to the web server. "MyProxy.php" recieves the response from the web server, compresses it, and returns it to the Proxy Program on the computer. 4. The Proxy Program decompresses the response and returns it to the WebBrowser. 5. The WebBrowser shows the response to the user. Please see the figure[^] for more info. Do you think that's a good idea? Would it minimize the traffic by any percent?
I presume you mean minimize the amount of bandwidth you are using. :doh: There are several things you can do: - Implement Caching. Give cached content as long a life as possible. - Implement Compression - Minify JavaScripts - If there are any images, optimise them. - Move as much content as possible onto alternate content hosts. - Use a tool such as the PageSpeed or ySlow plugins in FireFox to identify other bandwidth hogging areas. ... If you actually did mean "minimize the traffic", then just turn off the web server. :)
-
I presume you mean minimize the amount of bandwidth you are using. :doh: There are several things you can do: - Implement Caching. Give cached content as long a life as possible. - Implement Compression - Minify JavaScripts - If there are any images, optimise them. - Move as much content as possible onto alternate content hosts. - Use a tool such as the PageSpeed or ySlow plugins in FireFox to identify other bandwidth hogging areas. ... If you actually did mean "minimize the traffic", then just turn off the web server. :)
Marc Firth, Thank you for your reply. Yes, I meant minimizing the amount of bandwidth. :) I guess I know those things. You're looking at the problem from the server's point of view. Look at it from client's point of view. I want to minimize the amount of traffic for my computer(not for server) as Internet Providers in my country charge a lot for bandwidth tariffs. Please review my idea once more. Would that be any help in my case? Thanks again.
-
Marc Firth, Thank you for your reply. Yes, I meant minimizing the amount of bandwidth. :) I guess I know those things. You're looking at the problem from the server's point of view. Look at it from client's point of view. I want to minimize the amount of traffic for my computer(not for server) as Internet Providers in my country charge a lot for bandwidth tariffs. Please review my idea once more. Would that be any help in my case? Thanks again.
Same thing then really. It doesn't really matter which way the traffic is going - minimizing bandwidth means sending less content.