A Cache Predictive Scheme for On-Demand Routing in Ad-Hoc Networks