This blog..

.. is about optimisation that isn't evil.

Removing unused whitespace with mod_substitute

Unnecessary whitespace comes from many sources: It’s added from developers to have a readable code (required!), it’s added from frameworks (oh well), it’s added from auto-formatting and saving rules of your ide (and 4 tabs may end as 32 spaces), and maybe it’s added from other tools in your development chain. In the development cycle whitespace is important, but when the page is delivered it’s unnecessary. So let’s get rid of it with mod_substitute.
Continue reading Removing unused whitespace with mod_substitute

hardcore performance tip #1: flush html header early

Output of web applications usually is sent in chunks of data, simply because it’s more effective to send a bulk of data then dribble single bytes through the line. But in some situations, it can be very effective to influence the behaviour of this mechanism.
Continue reading hardcore performance tip #1: flush html header early