zhanggg
V2EX  ›  问与答

求一个静态文件服务器

  •  
  •   zhanggg · Aug 9, 2022 · 1767 views
    This topic created in 1416 days ago, the information mentioned may be changed or developed.

    有个大文本文件浏览器打开(100M)查看场景 nginx 不支持流式的方式加载,要加载完整个文件才打开 有没有什么静态文件服务器可以支持流式的方式,且支持输入行号

    比如我输入 http://localhost:8080/myfile/file.txt:20000 就从这个文件的 20000 行开始加载 200 行,滚轮到底开始再继续加载 200 行

    自己写代码应该也能实现,就想问问有没有现成的 nginx 插件或者其他可以直接开箱的 static http server

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5261 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 43ms · UTC 08:57 · PVG 16:57 · LAX 01:57 · JFK 04:57
    ♥ Do have faith in what you're doing.