简体   繁体   English

OboeJS:不再可用? 下载大型 JSON 的替代方法?

[英]OboeJS: No Longer Available? Alternatives to Downloading Large JSONs?

I was considering making use of OboeJS for streaming of JSON loading.我正在考虑使用OboeJS来流式传输 JSON 加载。 However, when I try to access the page , it asks for me to log in to the server using a Username and Password.但是,当我尝试访问该页面时,它要求我使用用户名和密码登录到服务器。

I am considering making use of OboeJS after reading this: Angularjs get request for a huge json file .阅读本文后,我正在考虑使用 OboeJS: Angularjs get request for a large json file A side question: is there any quick or easy way to tell / confirm if my server supports HTTP/JSON streaming?附带问题:是否有任何快速或简单的方法来告诉/确认我的服务器是否支持 HTTP/JSON 流?

Is it no longer available for public use?它不再可供公众使用吗?

If so, what are some possible alternatives?如果是这样,有哪些可能的替代方案? I am considering sending multiple sequential GET requests and updating the Angular frontend regularly.我正在考虑发送多个连续的GET请求并定期更新 Angular 前端。

Thank you!谢谢!

Oboe.js is still an awesome choice for this! Oboe.js 仍然是一个很棒的选择! :) We're just having trouble's with the nodejitsu hosting of the site. :) 我们只是在网站的 nodejitsu 托管上遇到了麻烦。 You can view some discussion about this, the state of our migration to GitHub Pages, and some alternative ways of reaching the documentation in the mean time, at https://github.com/jimhigson/oboe.js-website/issues/17您可以在https://github.com/jimhigson/oboe.js-website/issues/17查看关于此的一些讨论、我们迁移到 GitHub Pages 的状态以及同时访问文档的一些替代方法

As for your second question, you should be able to get the benefits of using Oboe no matter what you're using on the server side (even static JSON).至于您的第二个问题,无论您在服务器端使用什么(甚至是静态 JSON),您都应该能够获得使用双簧管的好处。 When you request data, it gets downloaded by the browser in chunks over time, effectively making it a stream.当您请求数据时,它会随着时间的推移被浏览器分块下载,从而有效地使其成为一个流。 If your server has a built-in mechanism for streaming, it will just lower the time it takes for you to start receiving a response.如果您的服务器具有内置的流式传输机制,它只会降低您开始接收响应所需的时间。

Hope that helps!希望有帮助!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM