Replace undefined function canCache with canCacheRequest

Probably a bug from previous refactoring, just caught it as I tried to override only the response canCache mechanism.