Replace undefined function canCache with canCacheRequest

Probably a bug from previous refactoring, just caught it as I tried to override only the response can cache mechanism.
Merge pull request #397 from inssein/patch-1

Replace undefined function canCache with canCacheRequest