Giter VIP home page Giter VIP logo

Comments (6)

simeonackermann avatar simeonackermann commented on June 24, 2024

Webpack build message:

WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
main.min.js (1.03 MiB)
WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
main (1.03 MiB)
main.min.js
WARNING in webpack performance recommendations:
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/

from building-navigator.

k00ni avatar k00ni commented on June 24, 2024

Why is that a problem at all? Did the user need something else besides the main.min.js?

from building-navigator.

simeonackermann avatar simeonackermann commented on June 24, 2024

Ok, the 1.1 MB main.min.js included an experimental routing feature with a lot of translated routing transcriptions.
Without its about 700 KiB, what is closer to the size I had in mind.

But I think this could be still optimized. Beside the main.min.js users have to download CSS files, Images and leaflet tiles. Especially for mobile devices it should be as less as possible.

from building-navigator.

k00ni avatar k00ni commented on June 24, 2024

How much is the size of all files in total?

from building-navigator.

simeonackermann avatar simeonackermann commented on June 24, 2024

Our JS, CSS and image files are about 1.1 MB. The quite biggest part is the main.js
The leaflet map tiles for the center of leipzig are 300 KB

from building-navigator.

simeonackermann avatar simeonackermann commented on June 24, 2024

But I think the current fixed build size (600KB) is OK and we can close this issue.

Another issue might be performance improvements. Eg test if a React component should update.

from building-navigator.

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.