The thing is that developers tend to keep things as simple as possible and overly optimize stuff, when you find bloatware is usually some manager that decided to have it.
It's the marketing. Always the marketing. Especially the SEO guys.
One SEO guy we worked with told us not to cache our websites because he was convinced that it helped. He badgered us about it for weeks, showed us some bullshit graphs and whatever. One day we got fed up and told him we'd disabled the cache and he should keep an eye out for any improvements in traffic. Obviously we didn't actually do anything of the sort because we are not fucking idiots. Couple days later the SEO wizard sent us another bunch of figures and said "see, I told you it would help I know my stuff". He did not, in fact, know his stuff.
Couple days later the SEO wizard sent us another bunch of figures and said “see, I told you it would help I know my stuff”. He did not, in fact, know his stuff.
Of course, we developers like to optimize and patch source code all the time. If I am suddenly woken up at three in the morning, I will immediately open the lid of my laptop and start optimizing the code. That's our little developer secret.