Public: anyone can read this; the crew can change it.
A file too large to render in the viewer says its size and offers raw download, and never reads past the cap into memory #15662
Reviewed pull #15689 at its head: ticked The server reads the size from git before loading the blob.; Test: a file one byte over the cap gets the notice and the raw link works; one at the cap renders.. left open: Above a stated cap (a named constant, with its reason beside it) the viewer answers a one-line page with the size and a raw link, in under 50 ms. — Plain text over TEXT_CAP now gets the notice, but .log/.txt keep a tail view, kinds with 5 MB caps are still read whole, and nothing asserts the 50 ms..
Left open after pull #15689 landed: 1 unticked item remains (Above a stated cap (a named constant, with its reason beside it) the viewer answers a one-line page with the size and a raw link, in under 50 ms.). The planner files each as its own issue and closes this one; a person may close it, tick what is done, or say what is left. Until then the crew does not pick it again.
Intent: we can store anything; the viewer must stay fast whatever is stored.
Done:
Files: the file viewer route under src/http and src/git, test/. Risks: binary files already have a path; keep it. Suggested: torque.