mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-26 18:14:37 +00:00
* docs (cherry picked from commit eb5d2c50c0e45712eafda0b0e79bd1816b5f8a5b) (cherry picked from commit eecfd35336964c756547f9ea622566f8bab02709) * typo (cherry picked from commit d9129bcaf3f4face613b3f6ccfe06ce6ed45b2d5)
16 lines
858 B
Plaintext
16 lines
858 B
Plaintext
title: $:/changenotes/5.4.0/#9078
|
|
description: Web server get-file route now supports HTTP Range headers and streaming
|
|
tags: $:/tags/ChangeNote
|
|
change-type: enhancement
|
|
change-category: nodejs
|
|
links: https://github.com/TiddlyWiki/TiddlyWiki5/pull/9078
|
|
github-contributors: linonetwo
|
|
|
|
The web server's `get-file` route now supports HTTP Range requests and file streaming, enabling better loading and playback of large media files.
|
|
|
|
!! Features
|
|
|
|
* HTTP Range header: Enables partial content delivery with `206 Partial Content` responses, which is used when the user drags the progress bar in video/audio playback
|
|
* Streaming file delivery: Browsers can now properly seek and stream video files from the `/files/` directory. Files are read using Node.js streams for better performance and memory efficiency.
|
|
* Resumable downloads: To save interrupted downloads
|