#658 - Output streaming
0 guests and 0 members have recently viewed this.
The top 3 point earners from 14th Dec 2025 to 21st Dec 2025.
| PDStig |
|
|
|---|---|---|
| Gabri |
|
|
| sholzy |
|
|
There are no events at this time
That said, we can still do this on a module-by-module basis, if we so choose. We just do this via not attaching Tempcode objects, but instead echoing them out immediately. This can be multi-layered also. It's not more work than having an API to do it, and actually cleaner.
In terms of what is implemented...
Almost all modules have been made to support output streaming. Comcode pages have it implemented. Minimodules do not, as they are not sophisticated enough to pre-declare things like screen titles, but are likely to use them.
All-in-all, this is a really nice improvement. We don't yet have the self-learning cache implemented, so things look a bit funky when CSS includes aren't loaded initially (the browser has to re-render the page, so flickers). When that is done, it will be even better. There is no overall performance negative on the streaming, and strong positives (psychological, seeing output start sooner; bandwidth kept busy due to lower latency; connection kept prioritised through routers due to faster response).