Git Product home page Git Product logo

Comments (2)

undoZen avatar undoZen commented on July 28, 2024

「JS来渲染的效率肯定是远远低于服务端」這不成立,如果請求量大,全都在服務器端處理不就給服務器更大壓力嗎?

並不能簡單比較最終 HTML 傳輸結束的時間。網頁加載過程涉及到太多因素,BigPipe 先發送的 HTML 片段可以讓瀏覽器(比如說,在第一秒的時候)去加載外部靜態文件,同時等待後續的 HTML 片段,而不用 BigPipe 的話至少到第 5 秒才開始加載靜態文件。

而「改善了一下加载体验」也是很重要的,即便是這樣,我們假設一種情況是第 3 秒顯示出一半,第六秒顯示出剩下一半,也要好過等待 5 秒後突然顯示完成。

from bigpipe-on-node.

NexusLee avatar NexusLee commented on July 28, 2024

@undoZen 渲染速度好慢

from bigpipe-on-node.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.