4 ms·
Warning that Nuxt.js is almost 100k out of the box, making it unsuitable for mobile usage.
by Touche 6y ago
Warning that Nuxt.js is almost 100k out of the box, making it unsuitable for mobile usage.
- chimen 6y agoDepending on what you're building, I don't find 100k to be that much .
- thdrdt 6y agoIt's not only filesize it's also what the browser must parse. Parsing huge files is not a great experience on mobile.
- warent 6y agoI'm trying to imagine what browser is so outdated that it struggles to parse 100kb of javascript
- Touche 6y agoIt's not the browser, it's the processor that's in most non-iPhones.
- true_religion 6y agoSamsung phones and Pixels aren’t that bad either. I am not saying it to be proud, but I tested our 3mb internal app with a 5 year old android phone, and worked. The only time it was slow is if the browser itself was old (e.g. Chrome 44).
- kangoo1707 6y agoAll browser processes 100KB of scripts just fine. And they process the scripts in the background. The HTML is already parsed and displayed.
- ehutch79 6y agoFor low end android devices on a network in rural areas, that's a lot.
- aabhay 6y agoIt runs just fine for my site, across browsers and OSes.
- Touche 6y agoYou're probably getting down-ranked by Google, they use performance as a metric.
- kangoo1707 6y agoAnd what is the best solution? Client Side Rendering is worse, because users see a blank page until the script is parsed. 100KB is actually desirable, because it's included Vue and Vuex out of the box.
- Touche 6y agoThe best solution is to not have as much JavaScript. Use a smaller framework. Use fewer dependencies. Lazy load things when you can. The solution is to have a performance budget at the start of your project so things never get so bad.
- geddy 6y agoIn what year, 2004? A single ad can take up that much space.