Why use output buffering in PHP?

前端 未结 11 1020
礼貌的吻别
礼貌的吻别 2020-12-09 02:43

I have read quite a bit of material on Internet where different authors suggest using output buffering. The funny thing is that most authors argument for its use only becaus

11条回答
  •  爱一瞬间的悲伤
    2020-12-09 03:08

    Output buffering is critical on IIS, which does no internal buffering of its own. With output buffering turned off, PHP scripts appear to run a lot slower than they do on Apache. Turn it on and they run many times faster.

提交回复
热议问题