What soy sauce is
Soy sauce begins with cooked soybeans, sometimes with roasted wheat, on which a particular mould is grown. The mould produces enzymes. The beans are then drowned in strong brine and left for months, during which the enzymes break the beans’ proteins down into amino acids and their starches into sugars, and salt-loving yeasts and bacteria add acids and aromas. The dark liquid drawn off is intensely savoury, because it is full of glutamate, and salty, because of the brine. Everything that follows in kecap manis is built on that fermented base. It is why the sauce tastes of far more than sugar and salt.
Why it is so thick
Sugar dissolved in a small amount of liquid makes a syrup. Kecap manis may be half sugar by weight, and is as viscous as honey for the same reason.
Why it keeps for ever
Between the salt and the sugar there is almost no free water for microbes to use. An opened bottle is safe for months in the cupboard.
Why palm sugar
It was what Java had, and it brings its own caramel and smoke. Kecap made with white sugar is flatter.
Why it browns food so well, and burns so fast
Kecap manis contains the two things that make food brown: sugars, and the amino acids left by fermentation. Heated together they react readily, producing the dark colour and roasted, savoury-sweet flavours of a glaze. This is why a spoonful turns fried rice mahogany in seconds and gives grilled satay its lacquer. The same chemistry is why it burns. On a hot grill the sugar goes from caramel to carbon in moments. Cooks therefore marinate with a little, grill the meat most of the way, and brush on the kecap only at the end, turning often, so that it glazes without blackening.
Why sweet and salty works
Salt makes sweetness seem fuller and suppresses bitterness; sugar softens salt. A sauce that is strongly both tastes more rounded than one that is strongly either.
Why a squeeze of lime
A sauce this sweet and heavy needs acid. Lime and raw chilli, as in sambal kecap, turn it from a syrup into a dip.
A note on sugar and salt
It is very high in both. A little goes a long way, which is as well.