System and method for library compressed cache-aided coded multicast