set edge cache after checking CachedResponse