The strings don"t take a few kB, for me, they take 8 MiB, which is a lot, because to display all this information, 26 MiB of memory is used by the DOM, that's the elements on the page and such.
There's also 30 MiB taken by raw data such as objects and array buffers.
Only 15 MiB is taken by the parsed scripts. That doesn't mean they have 15 MiB of code, because there is parsing and browser optimisations and all of that.
So my point is that most of the memory used is used to store all the data and not for stupid things like scripts or images. There isn't much they could do about it.
A smol cat in a sock that likes smol buns
Welcome to your niu world ! We are a cute and loving international community Ｏ(≧▽≦)Ｏ !