diff --git a/lib/cjs/generated/rum.d.ts b/lib/cjs/generated/rum.d.ts index 8e5518b8..8f4858e1 100644 --- a/lib/cjs/generated/rum.d.ts +++ b/lib/cjs/generated/rum.d.ts @@ -778,6 +778,10 @@ export type RumResourceEvent = CommonProperties & ActionChildProperties & ViewCo * Delivery type of the resource */ readonly delivery_type?: 'cache' | 'navigational-prefetch' | 'other'; + /** + * Whether the resource was served from the device's local cache + */ + readonly local_cache_hit?: boolean; /** * The provider for this resource */ diff --git a/lib/esm/generated/rum.d.ts b/lib/esm/generated/rum.d.ts index 8e5518b8..8f4858e1 100644 --- a/lib/esm/generated/rum.d.ts +++ b/lib/esm/generated/rum.d.ts @@ -778,6 +778,10 @@ export type RumResourceEvent = CommonProperties & ActionChildProperties & ViewCo * Delivery type of the resource */ readonly delivery_type?: 'cache' | 'navigational-prefetch' | 'other'; + /** + * Whether the resource was served from the device's local cache + */ + readonly local_cache_hit?: boolean; /** * The provider for this resource */ diff --git a/schemas/rum/resource-schema.json b/schemas/rum/resource-schema.json index 5551d2d3..6554f83e 100644 --- a/schemas/rum/resource-schema.json +++ b/schemas/rum/resource-schema.json @@ -244,6 +244,11 @@ "enum": ["cache", "navigational-prefetch", "other"], "readOnly": true }, + "local_cache_hit": { + "type": "boolean", + "description": "Whether the resource was served from the device's local cache", + "readOnly": true + }, "provider": { "type": "object", "description": "The provider for this resource",