Why use output buffering in PHP?

前端 未结 11 1016
礼貌的吻别
礼貌的吻别 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 02:54

    We used to use it back in the day for pages with enormously long tables filled with data from a database. You'd flush the buffer every x rows so the user knew the page was actually working. Then someone heard about usability and pages like that got paging and search.

提交回复
热议问题