Distributed caching in the future generation networks