PacketFence - BTS - PacketFence
View Issue Details
0001473PacketFenceperformancepublic2012-06-16 03:422012-10-19 11:51
_KaszpiR_ 
fgaudreault 
normalfeaturehave not tried
resolvedwon't fix 
3.3.2 
 
0001473: Enable output buffering in PHP scripts
I was surprised there is no output buffering in any of the scripts in the PacketFence (well, except some AJAX files).

It could give some performance gains on the web pages, not to mention how well it helps handling sending headers to the client especially in late code execution.
http://php.net/manual/en/book.outcontrol.php [^]

In general adding ob_start() at the very beginning of the common.php should be sufficient.

Could be expanded to support browsers that can handle compression etc.
No tags attached.
Issue History
2012-06-16 03:42_KaszpiR_New Issue
2012-10-19 11:51fgaudreaultNote Added: 0003139
2012-10-19 11:51fgaudreaultStatusnew => resolved
2012-10-19 11:51fgaudreaultResolutionopen => won't fix
2012-10-19 11:51fgaudreaultAssigned To => fgaudreault

Notes
(0003139)
fgaudreault   
2012-10-19 11:51   
Since we plan to refactor the UI entirely, I don't think it will help for now. I will mark as closed, re-open if you feel we would benefit HUGE performance gain.