Add compression property on client side