Git Product home page Git Product logo

Comments (8)

NE-SmallTown avatar NE-SmallTown commented on May 22, 2024

CSS 阻塞 DOM 构建(有 js) 这个有办法测吗,感觉好像没办法,因为最多也就是 charles 把 css 挂起,这个时候页面没有渲染(Render Tree 没完成),但是这个无论 CSS 有没有阻塞 DOM Tree 构建都表现是这样

from blog.

berwin avatar berwin commented on May 22, 2024

@NE-SmallTown 可以测,Chrome DevTools 中的 performance 面板可以测~ 😁😁

from blog.

NE-SmallTown avatar NE-SmallTown commented on May 22, 2024

看了下,确实没有 js 的时候,即便 block 住 css 资源的请求,DOMContenLoaded 事件也还是 fire 了

from blog.

berwin avatar berwin commented on May 22, 2024

@NE-SmallTown 后面会写更多导致性能问题的原因以及如何解决的文章~ 😁😁

from blog.

NE-SmallTown avatar NE-SmallTown commented on May 22, 2024

哈哈,持续关注中,之前也写过一点 https://zhuanlan.zhihu.com/p/33825610 ,要看的资料太多了,唉

from blog.

WayneGongCN avatar WayneGongCN commented on May 22, 2024

赞!!
第六节使我恍然大悟!!!
只知道 JavaScript 阻塞 Parse HTML 但一直没有去理解其原因,现在终于明白了。

from blog.

michaelluang avatar michaelluang commented on May 22, 2024

补充下 Google Developers 社区对该主题的介绍:https://developers.google.com/web/fundamentals/performance/critical-rendering-path

from blog.

TongJiaGod avatar TongJiaGod commented on May 22, 2024

上面很多图片都裂开了,能补充完善吗

from blog.

Related Issues (20)

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.