Update cache.matchAll(request, params) algorithm with Vary header conditions