Compression in the client side