๐พ Archived View for bbs.geminispace.org โบ s โบ Rosy-Crow-Issues โบ 29 captured on 2023-12-28 at 16:26:34. Gemini links have been rewritten to link to archived content
โฌ ๏ธ Previous capture (2023-11-14)
-=-=-=-=-=-=-
Currently, it looks like Rosy Crow waits until the connection has completely finished (aka. the file has fully downloaded) before it starts displaying text. I think it's better if you could load in the page as it comes in, rather than wait until the end of the conection to load the page. This will allow for slower connections to see at least some content loading in before the whole document has been downloaded, and it will allow for text chat rooms to work in gemini.
This is spec-compliant, as Section 1.1 allows for clients to handle content as it comes in rather than waiting until the connection has closed to handle content:
Note that clients are not obligated to wait until the server closes the connection to begin handling the response.
This text streaming idea was originally proposed by Tomasino and others in the Gemini IRC, and then Mozz created the first chatroom. Solderpunk also followed up with a post outlining its use-cases.
A Vision for Gemini Applications
Re: A Vision for Gemini Applications
You can test streaming of text/gemini with the link below:
thegonz.net text/gemini Stream Test
๐ Issue #29 in s/Rosy-Crow-Issues
Sep 19 ยท 3 months ago ยท ๐ Addison
๐ Addison ยท Oct 14 at 20:44:
This will pose an interesting challenge because the app works by generating an entire HTML document from gemtext. That document is then sent to an embedded web view all at once.
I appreciate the links, this helps a lot.