Adaptive TTL-Based Caching for Content Delivery