Fundamental limits of shared-cache networks