Javascript 检索';缓存的时间';从通过cache.match(req)通过CacheStorage api返回的响应

Javascript 检索';缓存的时间';从通过cache.match(req)通过CacheStorage api返回的响应,javascript,browser,google-chrome-devtools,Javascript,Browser,Google Chrome Devtools,我正在使用新的CacheStorage api,希望有一个小任务来清理高于某个ttl(生存时间)的旧缓存条目 在Chrome开发工具->应用程序选项卡中,我看到一个“缓存时间”列,但无法通过api检索该列 const cache=wait cache.open(`my cache`); const response=wait cache.match(新请求(`https://someurl`)) 控制台(response.cachedTime)

我正在使用新的CacheStorage api,希望有一个小任务来清理高于某个ttl(生存时间)的旧缓存条目

在Chrome开发工具->应用程序选项卡中,我看到一个“缓存时间”列,但无法通过api检索该列

const cache=wait cache.open(`my cache`);
const response=wait cache.match(新请求(`https://someurl`))
控制台(response.cachedTime)