AshMan Posted April 4, 2003 Share Posted April 4, 2003 I recently discovered the ob_start() command that apparently caches/compresses the compiled code sent to the client's browser. What I would like to ask the PHP experts here is, what are the pros and cons of using this statement. Link to comment Share on other sites More sharing options...
0 Tim Dorr Veteran Posted April 4, 2003 Veteran Share Posted April 4, 2003 Cons: Memory usage, slower gzip than the builtin apache version. Pros: Not having to worry about setcookie() and header() weirdness (as much). ob_start() can be a good helper, but don't try to rely on it. :) Link to comment Share on other sites More sharing options...
0 AshMan Posted April 4, 2003 Author Share Posted April 4, 2003 Thanks :-) Link to comment Share on other sites More sharing options...
Question
AshMan
I recently discovered the ob_start() command that apparently caches/compresses the compiled code sent to the client's browser.
What I would like to ask the PHP experts here is, what are the pros and cons of using this statement.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts