Server and client compile