Returns the HTTPCachePolicy for path.
Evaluates each policy added by addCachePolicy against the path and
returns it if exists.
Source
HTTPCachePolicy cachePolicyForPath(String path) {
return _policyPairs.firstWhere((pair) => pair.shouldApplyToPath(path),
orElse: () => null)
?.policy;
}