#4001 - Remove output streaming
| Identifier | #4001 |
|---|---|
| Issue type | Feature request or suggestion |
| Title | Remove output streaming |
| Status | Completed |
| Tags |
Roadmap: v11 (custom) |
| Handling member | Chris Graham |
| Addon | core |
| Description | Output 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. |
| Steps to reproduce | |
| Funded? | No |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments
There have been no comments yet