GZip compression, cache control, other optimisations