clearResourceTimings

The clearResourceTimings() method removes all performance entries with an PerformanceEntry.entryType of 'resource' from the browser's performance timeline and sets the size of the performance resource data buffer to zero.

MDN Reference