Optimised content writing