Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Minimizing the traffic

Minimizing the traffic

Scheduled Pinned Locked Moved Web Development
phpsysadminhelpquestion
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    msn92
    wrote on last edited by
    #1

    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?

    M 1 Reply Last reply
    0
    • M msn92

      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?

      M Offline
      M Offline
      Marc Firth
      wrote on last edited by
      #2

      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. :)

      Portfolio | Web Design, Web Hosting & IT Support

      M 1 Reply Last reply
      0
      • M Marc Firth

        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. :)

        Portfolio | Web Design, Web Hosting & IT Support

        M Offline
        M Offline
        msn92
        wrote on last edited by
        #3

        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.

        M 1 Reply Last reply
        0
        • M msn92

          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.

          M Offline
          M Offline
          Marc Firth
          wrote on last edited by
          #4

          Same thing then really. It doesn't really matter which way the traffic is going - minimizing bandwidth means sending less content.

          Portfolio | Web Design, Web Hosting & IT Support

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups