Variable DEFAULT_TRACKED_RESOURCE_HEADERSConst
DEFAULT_TRACKED_RESOURCE_HEADERS: readonly [
"cache-control",
"etag",
"age",
"expires",
"content-type",
"content-encoding",
"vary",
"content-length",
"server-timing",
"x-cache",
"cf-cache-status",
"x-vercel-cache",
] = ...
Default list of headers collected on resource events when trackResourceHeaders is set to
true. Re-exported by the@datadog/browser-rumand@datadog/browser-rum-slimpackages, and exposed on theDD_RUMglobal object when the SDK is loaded via the CDN, so it can be referenced when building a custom matcher list.