Gửi tin nhắn: A Methodology for the Design of Self-Optimizing, Decentralized Content-Caching Strategies