Giter Site home page Giter Site logo

Comments (7)

SaiTingHu avatar SaiTingHu commented on August 14, 2024

事实上并不会导致整体资源加载时间变长,因为在资源固定情况下,一个一个下载,跟同时下载多个,耗时是一致的(除非使用多线程)

from htframework.

SaiTingHu avatar SaiTingHu commented on August 14, 2024

比如网络上有5个文件,在网速相同情况下(都是全速下载),我5个按顺下载,跟5个同时下载,耗时是接近的,本地加载资源也同理

from htframework.

unittt avatar unittt commented on August 14, 2024
default.mp4
isloading.mp4

一个默认情况,一个屏蔽_isLoading

from htframework.

SaiTingHu avatar SaiTingHu commented on August 14, 2024

看不到你的视频,你是网络加载资源,还是本地加载资源?

from htframework.

unittt avatar unittt commented on August 14, 2024

本地加载资源

from htframework.

SaiTingHu avatar SaiTingHu commented on August 14, 2024

按理说是不会这样的,可能有我没考虑到的问题,你可以尝试自定义资源加载助手(实现并行),但并行加载(AB模式)可能会多次加载依赖项,这点需要排除

from htframework.

unittt avatar unittt commented on August 14, 2024

感谢回复,我尝试下

from htframework.

Related Issues (18)

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.