Closed lambrospetrou closed 2 days ago
In https://github.com/lambrospetrou/tiddlyflare/commit/1f78357c76ee52838b82524675d1ae79ae318f49 there is streaming of the file back to the client by iterating over the SQLite cursor and writing into the ReadableStream
returned in the response.
For files with less than 5 chunks, about 10MB, we assemble the whole file in memory and return that in a single chunk and also keep it in memory for faster serving of the next request.
We have streaming now in both sides, reading and writing the wiki files.
GZIP will remain for later as further optimization. Will track separately.
Things to do:
Other things as followups (create separate issues)