6 ms·
How much JS do you actually need? 15k is a lot of code for a static page. HN is an app/forum and only has 5k of js.
by katzinsky 2y ago
How much JS do you actually need?
15k is a lot of code for a static page.
HN is an app/forum and only has 5k of js.
- lostmsu 2y agoHN is a pretty simple app. My cloud gaming project https://borg.games https://borg.games has 700kb of JS without minification or compression, half of which is Microsoft's authentication library (they could have probably cut the cruft out to reduce the size 3x). I'm sure though that if instead of JavaScript it was compiled to bytecode, it would fit in under 100kb before compression.