Time To interactive (TTI):
For lighthouse 6.xx version, Total Blocking Time is introduced which calculates total amount of time for long tasks between FCP and TTI. So here also, due to 3rd party scripts even loaded after onload event has the impact on page speed score calculation.
Few queries:
Were there any changes to TTI metric in past 1 year?
Nope.
Is there a way to improve calculation of TTI metric?
I think our definitions of "improve" will be different ;) The issues you describe are features of TTI that are working as intended.
There are many third party scripts on the pages (which many sites do), so TTI gets pushed way out.
This is intentional. Third-party scripts have a significant impact on the user's ability to interact with the page. TTI captures this.
In some cases it鈥檚 almost close to full page load.
This is also intentional. If every resource causes a longtask when it loads, then TTI will be the same as full page load time by design.
So here also, due to 3rd party scripts even loaded after onload event has the impact on page speed score calculation.
Deferring to onload won't do much for either of these metrics. True deferral here requires not loading the third-party at all for some subset of users (examples: only load the chat widget when they've clicked the chat button, show a still of a YouTube image and only load YouTube when the user clicks play, etc). Don't do the work at all instead of just reordering the work :)
Thanks @patrickhulce for swift response and detailed inputs :)
Most helpful comment
Thanks @patrickhulce for swift response and detailed inputs :)