I thought that window.performance.getEntries()
would match the number of requests according to Chromium's 'Network' tab, but that doesn't seem to be the case: http://i.stack.imgur.com/OfKtH.png. What am I missing?
If your page have multiple redirections, network tab shows everything whereas performance entiries shows only the resources from last/current document. Also the entries count doesn't include your HTML/document count where network counts that too.
I would also like to refer https://stackoverflow.com/a/18978803's answer.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With