News for hackers. Stuff that matters.
Re:How we improved our website's performance by wackget on Sunday January 24, 2021 @05:23PM (#25896801)
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...

https://old.reddit.com/r/Magento/comments/bli7vz/seriously_w...

https://magento.stackexchange.com/questions/277544/page-load...

https://magento.stackexchange.com/questions/270553/is-it-pos...

Re:How we improved our website's performance by brailsafe on Monday January 25, 2021 @05:43AM (#25901747)
It 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?
Re:How we improved our website's performance by sumoboy on Monday January 25, 2021 @01:12AM (#25899908)
Magento 2 sucks, but clients are stupid and think that 10+ page loads are ok.