v148 · web api · covered on mdn
Content type in Resource Timing
A new contentType read-only property on PerformanceResourceTiming that exposes a standardised MIME type string for each fetched resource. Enables performance tooling to filter, group, and analyse resource loads by content type without requiring additional server-side instrumentation.
this feature is documented on MDN
MDN: PerformanceResourceTiming.contentType
MDN documents the contentType property, its MIME type format, privacy constraints (cross-origin timing), and usage examples with PerformanceObserver. gendn doesn't duplicate that here.
quick reference
| Property | PerformanceResourceTiming.contentType |
|---|---|
| Type | string — a minimised and standardised MIME type (e.g. "text/html", "image/png", "application/json") |
| Access | Via PerformanceObserver with type: "resource", or performance.getEntriesByType("resource") |
| Example | entry.contentType → "text/javascript" |
| Shipped in | Chrome 148 (desktop + Android) |
| ChromeStatus | 5156068351541248 — Content type in Resource Timing |
| Spec | Resource Timing Level 2 — W3C |