From 699526b3e09f3c8242aff64d375347ef0d522f07 Mon Sep 17 00:00:00 2001 From: Peter Hedenskog Date: Tue, 18 Oct 2022 20:29:18 +0200 Subject: [PATCH] Make it easier to understand what PageXray buckets mean (#3743) --- lib/plugins/html/templates/url/pagexray/after.pug | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/plugins/html/templates/url/pagexray/after.pug b/lib/plugins/html/templates/url/pagexray/after.pug index a387e1afb..3125dfb1e 100644 --- a/lib/plugins/html/templates/url/pagexray/after.pug +++ b/lib/plugins/html/templates/url/pagexray/after.pug @@ -1,6 +1,10 @@ if pagexray.afterOnLoad.requests > 0 a#requests-after-onload h3 Requests loaded after onLoad event + p.small Included requests done after + a(href='https://developer.mozilla.org/en-US/docs/Web/API/Window/load_event') load event end + | . + table(data-sortable, id='contentSizeAfterOnload') +rowHeading(['Content', 'Transfer Size', 'Requests']) each data, type in pagexray.afterOnLoad.contentTypes @@ -15,7 +19,9 @@ if pagexray.afterOnLoad.requests > 0 if pagexray.afterOnContentLoad.requests > 0 h3 Requests loaded after onContentLoad - p.small Includes requests done after onLoad. + p.small Includes requests done after + a(href='https://developer.mozilla.org/en-US/docs/Web/API/Document/DOMContentLoaded_event') DOM content loaded + | . table(data-sortable, id='contentSizeAfterOnContentload') +rowHeading(['Content', 'Transfer Size', 'Requests']) each data, type in pagexray.afterOnContentLoad.contentTypes