Is too much output buffering bad
-
Hi everyone. This question goes out to the PHP gurus.
My question is, is too much output buffering bad?
I’m not a huge fan of hacking core so it makes me happy when there is an action I can hook into. Unfortunately, there are many parts of wordpress that aren’t customizable. For example, a client doesn’t want the nickname and website fields on the edit-user page. So, I fire up ob_start and use a regular expression to get rid of those items.
Now, there are a few other tweaks I need to do to the login page, registration page and can do what I need with ob_start and some regular expressions.
I would assume that output buffering and regular expressions would create some sort of performance hit. Is that the case? Is the hit negligible? Is it better to just hack core?
thanks in advance
- The topic ‘Is too much output buffering bad’ is closed to new replies.