Matching routes with caching strategies