Search


Search something to see results

DynamicBlockMetadata

interface DynamicBlockMetadata {
    blockingDuration?: number;
    changeDetection?: number;
    changes: ChangeInfo;
    comparedBlocks: number;
    complete: number;
    dataComplete: boolean;
    debug?: DebugInfo[];
    delayedDoneSignal?: number;
    delayedOfflineBanner?: number;
    errors: ErrorInfo[];
    frameToNextTask?: number;
    frameToPaint?: number;
    hotness?: number;
    isChangeDetectionExecuted?: boolean;
    localBlocks: number;
    mergedBlocks: number;
    mergeDuration?: number;
    mergeToFrame?: number;
    mergeToPaint?: number;
    mergeToRelease?: number;
    missingSelectors: string[];
    originResponseStart?: number;
    originTTFB?: number;
    received?: number;
    remoteBlocks: number;
    responsePreparation?: number;
    retries: number;
    scriptsAtRisk: string[];
    setAssetList?: (assetList: { scripts: string[]; styles: string[] }) => void;
    start: number;
    status: number;
    track: (action: string, label: string, value: number) => void;
    updateDevice: (device: string) => void;
}

Index

Properties

Properties

blockingDuration?: number

Duration of blocking script (speed-kit-dom-ready.js).

changeDetection?: number

How long the change detection took.

changes: ChangeInfo

Details about detected changes between the cached version and the origin version of the document.

comparedBlocks: number

Number of blocks which were compared by the change detection.

complete: number

A timestamp indicating when the dynamic fetcher was done merging blocks.

dataComplete: boolean

A boolean indicating when the service worker answered the dynamic fetcher.

debug?: DebugInfo[]

Dynamic Block Debug Information.

delayedDoneSignal?: number

The id of the timer executing the done signal. This can be used to abort emitting the signal in error cases.

delayedOfflineBanner?: number

The id of the timer showing the offline banner. This can be used to abort displaying the banner in error cases.

errors: ErrorInfo[]

All Error that happened while merging blocks.

frameToNextTask?: number

Duration from start of the animation frame to newly scheduled task.

frameToPaint?: number

Duration of the animation and paint procedure.

hotness?: number

Hotness of the resource.

isChangeDetectionExecuted?: boolean

Whether the change detection was executed.

localBlocks: number

Amount of local blocks within cached site.

mergedBlocks: number

Amount of merged blocks.

mergeDuration?: number

Duration of response preparation timespan involving automated change detections.

mergeToFrame?: number

Duration from end of merge to start of next animation frame.

mergeToPaint?: number

Duration from end of merge to end of paint.

mergeToRelease?: number

Duration from end of merge to release of our blocking resource.

missingSelectors: string[]

Stores the selectors and finds of dynamicBlockConfig missing from the remote document. This property is used to track outdated change detection configuration.

originResponseStart?: number

A timestamp indicating when the first byte of the origin document was received.

originTTFB?: number

The TTFB of the origin document.

received?: number

A timestamp indicating when the remote document was done loading.

remoteBlocks: number

Amount of blocks in the origin's personalized site.

responsePreparation?: number

Duration of response preparation timespan involving automated change detections.

retries: number

How many retries were needed, 0 if non needed.

scriptsAtRisk: string[]

Scripts at risk of not being executed by Chrome.

setAssetList?: (assetList: { scripts: string[]; styles: string[] }) => void

Sets the list of external assets of a document.

start: number

A timestamp indicating when the dynamic fetcher was started.

status: number

The status of the remote document request.

track: (action: string, label: string, value: number) => void

Track custom events.

updateDevice: (device: string) => void

Sends custom device types.