Giter VIP home page Giter VIP logo

Comments (1)

medikoo avatar medikoo commented on June 13, 2024

@kokujin Currently Webmake doesn't provide Lazy-loading, but I think it's unlikely you really need that. It makes a difference only in really large codebases, where you want to optionally download 50-100kB, and that's already a lot. Usually quite complex app in total, when minified and gzipped doesn't have much more than 100kB.

See e.g. website I worked on lately http://elomas.gob.ar/ it's complex registration website. It's bundle of over 700 modules (!), in minified form it's 1MB file, but when gzipped it goes down to 200kB, and it initializes and loads pretty fast. Additionally due to good caching setup, every further load is near instant as application file is already cached.
So lack of lazy loading is not that big issue, and I wouldn't address it, unless it's really a visible problem. See also benchmark comparing speed of AMD style loading with generation of the CJS bundle on the fly: https://github.com/medikoo/cjs-vs-amd-benchmark#results

Still, I consider this a valid issue, and one of the most important thing that's missing in Webmake, there's already open issue for that: #7 so I'm closing it as a duplicate.

from modules-webmake.

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.