5 ms·
Chunking JS just leads to massive latency issues as the client is forced to download dozens (or hundreds) of "efficiently" chunked JS files. The e-commerce pla
by wackget 6y ago
Chunking JS just leads to massive latency issues as the client is forced to download dozens (or hundreds) of "efficiently" chunked JS files.
The e-commerce platform Magento 2 is packed with this kind of bullshit and is part of the reason my colleagues and I abandoned it for our clients' large e-commerce websites:
https://magento.stackexchange.com/questions/104583/magento-2-heavy-loading-time-too-many-js-files https://magento.stackexchange.com/questions/104583/magento-2...
https://old.reddit.com/r/Magento/comments/bli7vz/seriously_why_does_magento_2_load_almost_200/ https://old.reddit.com/r/Magento/comments/bli7vz/seriously_w...
https://magento.stackexchange.com/questions/277544/page-loads-take-around-10-minutes-due-to-requirejs https://magento.stackexchange.com/questions/277544/page-load...
https://magento.stackexchange.com/questions/270553/is-it-possible-to-drastically-reduce-the-number-of-js-files-being-served-from-ma https://magento.stackexchange.com/questions/270553/is-it-pos...
- sumoboy 6y agoMagento 2 sucks, but clients are stupid and think that 10+ page loads are ok.
- brailsafe 6y agoIt seems though that in your example, all of the files being loaded are necessary on first load, and the total quantity is huge. Would the problems still be present if less JavaScript was depended upon on first load?