Add cache control headers where appropriate