7 ms·
Your bundle.js file is 4.4MB and took 30 seconds to load (given several attempts). I would consider getting that under control, at the very least gzip the file.
by maloney 10y ago
Your bundle.js file is 4.4MB and took 30 seconds to load (given several attempts). I would consider getting that under control, at the very least gzip the file.
- endless1234 10y agoHow can a site like this require that much clientside javascript?
- andrewmcwatters 10y agoit's 2016
- astrodust 10y ago2MB is the ante to get at the big boy's table.
- nilved 10y agoWhat a horrible place 2016 is. The JavaScript is uncompressed and has 6 columns of comment characters on every line. There's really no excuse. This site did not even need JavaScript.
- pjc50 10y ago> 6 columns of comment characters on every line The reinvention of COBOL?
- johansch 10y agoSpotted the front-end developer.
- andrewmcwatters 10y agoHaha! Yeah, but I don't believe this was necessary at all.
- andrewmcwatters 10y agowhat compels someone to downvote this?
- inimino 10y agoIt's not clear what point you're making and it doesn't seem to add much to the conversation.
- recursivnonsens 10y agoIt's not clear what point you're making and it doesn't seem to add much to the conversation.
- pvdebbe 10y agoStating the current year is not an argument.
- johansch 10y agoFrameworks using frameworks using frameworks using frameworks. Also: lots of front-end developers are into personal fame - and because they are front-end people they are also good at web-based marketing strategies. This works recursively :/ Oh and also: lots of front-end developers are relatively speaking weak in terms of architecture and general programming ability. (There; I said it.)
- kybernetikos 10y agoIt probably shouldn't but JS doesn't have much of a standard library so it's easy to make unfair comparisons. How big do you think a java client to do the same thing would be?
- maloney 10y ago4MB is an incredible amount of Javascript. All of underscore is less than 6kb, jQuery is less than 70kb. Both of those libs fill out the "standard" library needs of most websites.
- bbcbasic 10y agoNo excuse for 4mb though based on what the app does. 50k should do. For example in a side project I tried SammyJs then realised it requires jQuery. So I just hunted for something that can route urls without the needless dependency. I chose Navigo. Point is it takes some care but not too hard to keep the size reasonable. Also don't use npm for dependencies on a web site. But npm is ok for tooling e.g. webpack
- erikbye 10y agoUse a CDN? I already have these libs cached...
- Kequc 10y agoGood lord you're right. The question on the landing page should be "are you for/against massive over engineering of client side apps?"