test canCacheRequest