Flecks
Render IO-bound content asynchronously and stream it into a wrap-around shell in a single HTTP response with Phlex.
See video demo.
Recommendations
We recommend using the Falcon web server which uses multiple fibers to handle requests concurrently, since this will play best with our fiber-based approach to background tasks.
Acknowledgements
The declarative shadow DOM technique used in this project was inspired by these two articles:
- Out of Order Streaming using Declarative Shadow DOM, Kevin Kipp
- Streaming HTML out of order without JavaScript, Chris Haynes