if (response.headers.get('CF-Cache-Status') === 'MISS') {
// Update metadata for that resource.
} else {
// Served from Cloudflare (`HIT`, `UPDATING`, etc.) or is not cacheable (i.e. `DYNAMIC`)
}
if (response.headers.get('CF-Cache-Status') === 'MISS') {
// Update metadata for that resource.
} else {
// Served from Cloudflare (`HIT`, `UPDATING`, etc.) or is not cacheable (i.e. `DYNAMIC`)
}