Cache system with pub/sub