Text this: A Latency-Aware and Resource-Efficient Content Caching Scheme for Content-Centric Networks