View Issue Details

IDProjectCategoryView StatusLast Update
0004001Composrcorepublic2020-01-23 16:24
ReporterChris GrahamAssigned ToChris Graham 
SeverityFeature-request 
Status resolvedResolutionfixed 
Product Version 
Fixed in Version 
Summary0004001: Remove output streaming
DescriptionOutput streaming was a cool idea - have pages be able to put out HTML quickly and stream it, rather than waiting for the whole page to generate.

However, now I can see this is not very practical. Any kind of output compression (gzip, Brotli) requires putting in place a PHP output handler. This output handler only runs on script termination. Even if that wasn't the case, these compression schemes are not iterative/re-entrant.

Further to this, high-performance infrastructures often use reverse proxy servers, which will not themselves usually be streaming output (although I'm not 100% sure about that!). CloudFlare would be one example.

So, it makes sense to remove the output streaming feature as it adds extra code complexity. Most of it wasn't wasted effort, as it gave us the pre_run method which is good for gather metadata early.
TagsRoadmap: v11
Time estimation (hours)0.5
Sponsorship open

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-12-12 16:21 Chris Graham New Issue
2019-12-12 16:21 Chris Graham Description Updated View Revisions
2019-12-12 16:22 Chris Graham Tag Attached: Roadmap: v11
2020-01-23 16:24 Chris Graham Assigned To => Chris Graham
2020-01-23 16:24 Chris Graham Status non-assigned => resolved
2020-01-23 16:24 Chris Graham Resolution open => fixed