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?

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?
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.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.
visit my internet web site on the internet
http://dong.engineer/
it is just videos by bill wurtz videos you have been warned
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.
The amount of bandwidth used is irrelevant, it's always best to use as little bandwidth as possible. Also the time added is negligible.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.)
visit my internet web site on the internet
http://dong.engineer/
it is just videos by bill wurtz videos you have been warned
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.
Double post - lag.
Last edited by Iszak; 20-01-2009 at 06:21 AM.
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.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.
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
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.
Want to hide these adverts? Register an account for free!