🏠 New in Low Baseline Support: Resource size

March 27, 2023

caniuse · mdn · [spec]([‘https://w3c.github.io/resource-timing/#dom-performanceresourcetiming-decodedbodysize’, ‘https://w3c.github.io/resource-timing/#dom-performanceresourcetiming-encodedbodysize’, ‘https://w3c.github.io/resource-timing/#dom-performanceresourcetiming-transfersize’])

The decodedSize, encodedSize, and transferSize properties of the PerformanceResourceTiming API reports the size of resources loaded.

Source features