Optimizing PHProxy

Discussion in 'PHP' started by The SEO Hippy, Dec 12, 2006.

  1. #1
    I was wondering what type of tweaks and optimizations people have made to PHProxy so it uses less bandwidth, resources, and so on. Anyone? ;)
     
    The SEO Hippy, Dec 12, 2006 IP
  2. chopsticks

    chopsticks Active Member

    Messages:
    565
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    60
    #2
    Just a quick thought...

    What about by enabling GZip compression on the outputted pages? I had a quick look through the downloadable source code for PHProxy and didn't see any. Maybe I missed it.

    [ Edit: Nevermind, found it there... my bad - sorry ]
     
    chopsticks, Dec 13, 2006 IP
  3. krakjoe

    krakjoe Well-Known Member

    Messages:
    1,795
    Likes Received:
    141
    Best Answers:
    0
    Trophy Points:
    135
    #3
    GZcompression will cause it to use more resources not less, the amount of data transferred will be the same no matter what, the only thing you can do to improve performance of the machine that the proxy runs, is delete it.
     
    krakjoe, Dec 13, 2006 IP
  4. The SEO Hippy

    The SEO Hippy Peon

    Messages:
    64
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanks for the contribution to this thread..

    Anyways, I read Zend Optimizer can increase PHProxy's performance - anyone have any experience with this?
     
    The SEO Hippy, Dec 13, 2006 IP
  5. CodyRo

    CodyRo Peon

    Messages:
    365
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Yes.. almost any optimizer will increase the performance. As for GZIP it would lower the bandwidth utilization significantly but would raise the CPU/RAM usage (both are cheap, so not sure if it's worth the trade off)
     
    CodyRo, Dec 13, 2006 IP
  6. Dempsey

    Dempsey Well-Known Member

    Messages:
    203
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    163
    #6
    You can set max_file_size in index.php to a file size in bytes of files which will load. eg 1048576 would be 1mb files can be downloaded, but not above that.
     
    Dempsey, Mar 25, 2007 IP