Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: ob_gzhandler

  1. #1
    Join Date
    Oct 2008
    Location
    New York
    Posts
    308
    Tokens
    0

    Default ob_gzhandler

    I'm basically coding a basic user system and I can't remember where I read it but does ob-gzhandler make your pages load faster if included in the config file?
    ~ PixelPoco.com Co-Founder
    ~ Freelance Web developer.
    ~ Currently: Unavailable for work.



    Quote Originally Posted by Favourtism View Post
    i facebooked ur mum
    Lulz

  2. #2
    Join Date
    Oct 2007
    Posts
    824
    Tokens
    71

    Latest Awards:

    Default

    Yes, it compresses the page.
    Vouches
    [x][x]

  3. #3

    Default

    Personally, I don't think you should use it because you said it yourself a "basic user system" and therefore it should execute rather fast anyway. Plus I'm sure there's some cases where servers don't have the ob_gzhandler but disregard this if it's not going to be released. If your site is running / executing slow I would rather than use that try and find out why.

  4. #4
    Join Date
    Oct 2006
    Location
    Peterborough, UK
    Posts
    3,855
    Tokens
    216

    Latest Awards:

    Default

    Quote Originally Posted by Iszak View Post
    Personally, I don't think you should use it because you said it yourself a "basic user system" and therefore it should execute rather fast anyway. Plus I'm sure there's some cases where servers don't have the ob_gzhandler but disregard this if it's not going to be released. If your site is running / executing slow I would rather than use that try and find out why.
    You should always use it if it's available, it saves bandwidth.


    visit my internet web site on the internet
    http://dong.engineer/
    it is just videos by bill wurtz videos you have been warned

  5. #5

    Default

    Unless it's like a massive site like MySpace, Youtube, Facebook I really doubt he's going to tear through a lot of bandwidth with a simple user system, I mean I doubt he'd even get through a one gigabyte of bandwidth so your comment is invalid for his situation.

    Edit: Also, I'm sure by using it it'll add a longer execution time for the script because it's doing an extra operation. (Just so you don't get confused, when I say script I don't mean page.)
    Last edited by Iszak; 20-01-2009 at 05:34 AM.

  6. #6
    Join Date
    Oct 2006
    Location
    Peterborough, UK
    Posts
    3,855
    Tokens
    216

    Latest Awards:

    Default

    Quote Originally Posted by Iszak View Post
    Unless it's like a massive site like MySpace, Youtube, Facebook I really doubt he's going to tear through a lot of bandwidth with a simple user system, I mean I doubt he'd even get through a one gigabyte of bandwidth so your comment is invalid for his situation.

    Edit: Also, I'm sure by using it it'll add a longer execution time for the script because it's doing an extra operation. (Just so you don't get confused, when I say script I don't mean page.)
    The amount of bandwidth used is irrelevant, it's always best to use as little bandwidth as possible. Also the time added is negligible.


    visit my internet web site on the internet
    http://dong.engineer/
    it is just videos by bill wurtz videos you have been warned

  7. #7

    Default

    What's the point of buying hosting with x amount of bandwidth when you're only using 0.025x of that bandwidth or something ridiculous, I would and I'm sure many others would rather make their script executes faster than to "save bandwidth" when they're not even using a fraction of the amount they've paid. It's really only worth it on a large scale or on limited bandwidth and last time I checked majority of hosting packages come with a lot of bandwidth.
    Last edited by Iszak; 20-01-2009 at 06:22 AM.

  8. #8

    Default

    Double post - lag.
    Last edited by Iszak; 20-01-2009 at 06:21 AM.

  9. #9
    Join Date
    Oct 2006
    Location
    Peterborough, UK
    Posts
    3,855
    Tokens
    216

    Latest Awards:

    Default

    Quote Originally Posted by Iszak View Post
    What's the point of buying hosting with x amount of bandwidth when you're only using 0.025x of that bandwidth or something ridiculous, I would and I'm sure many others would rather make their script executes faster than to "save bandwidth" when they're not even using a fraction of the amount they've paid. It's really only worth it on a large scale or on limited bandwidth and last time I checked majority of hosting packages come with a lot of bandwidth.
    You lose .0001 of a second from my tests turning ob_gzhandler on, that's nothing. Saving bandwidth is a very good thing, it doesn't matter how much the server has it's how fast the client is downloading it, the difference between a second and less than a second downloading is pretty big when it comes to it, considering most people wont visit a site unless it has seriously good content (which most sites from this forum don't) or it loads very quickly.

    I am going out for coffee now. Because I'm great. You rapscalions can sit inside and code for a while whilst I'm gone then I can come back and shake my fist at you and slap you for doing a horrible job.


    visit my internet web site on the internet
    http://dong.engineer/
    it is just videos by bill wurtz videos you have been warned

  10. #10

    Default

    Look, honestly, for his project it's definitely not worth it you and I both know this. I'm sure no one who will be using his basic user system will use over a gigabyte of bandwidth. Also people viewing it are most likely to have high speed internet and the speed it takes to receive is insignificant. You've also got to remember that the server has got to compress it and the browser has to uncompress so that adds both to the execution of the script, and the reading of the page no matter how small it is it's just not worth it. Yes, use it on high volume traffic sites like Source TV but his, no. Argue all you want with yourself now.

    Edit: I forgot to mention if he really must use it, I would recommend mod_gzip the apache module.
    Last edited by Iszak; 20-01-2009 at 10:40 AM.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •