Time to Interactive (TTI) is the performance metric that measures when the web page’s subresources have been downloaded and when the user can interact with the web page. Time to Interactive is not just about “loading responsiveness”. It is also about the “downloading the main resources of the web page”. To measure and understand the Time to Interactive (TTI), understanding First Contentful Paint and Total Blocking Time is important. Time to Interactive Definition is that is the timing metric for a web page’s becoming fully interactive.
What does Time to Interactive Measure?
Time to Interactive (TTI) measures three things as basic during the web page loading process.
- When the web page shows the useful content that means the First Contentful Paint happened.
- When the event handlers have been activated and the web page can respond to the interaction of the user.
- The web page can respond to the user in 50 milliseconds.
First CPU Idle, Total Blocking Time, and “Consistently Interactive Timing” terms are related to the Time to Interactive. First CPU Idle is the measuring metric for the first time when the browser’s main thread is idle while the Time to Interactive is related to the “Consistently Interactivity”. To assume that Time to Interactive happened, the main thread should be idle for more than 5 seconds, this is called “Quiet Window” or “Main Thread Quiet Timing”. You may see a descriptive graphic for showing the difference between First CPU Idle and Consistently Interactivity on the big brands’ web sites.
How does Google Chrome Lighthouse Calculate the Time to Interactive?
To calculate the Time to Interactive, Lighthouse uses the HTTP Archive’s Time to Interactive Data. If the web page’s TTI Score is better than the general of the web sites around the world, Lighthouse will mark the TTI Score as good. Below, you may find the HTTP Archive’s Time to Interactive Data Graphic.
What is a Good Time to Interactive Timing?
You may see the fast and slow definitions for the Time to Interactive in terms of timing.
|Time to Interactive (TTI) Metric in Seconds||Result for TTI|
How to Optimize Time to Interactive for better UX and SEO Performance?
Time to Interactive measures when the main content of the web site has been downloaded and the user can interact with the web site without any blocking for the rest of his/her pageview. In this context, Time to Interactive is a “user-centric” Pagespeed Metric and also it is directly related to the Main Thread’s overloading percentage. Because of this situation, a Holistic SEO or a Developer has to know to read the Main Thread’s activity during the page loading process.
To perform analysis of the browser’s main thread, Chrome Web Tools’ Performance tab can be used. You may see an example below:
You may see that in our web pages, most of the time there is not a “Blocking situation for the User Input”. To improve the TTI, downloading the main content and also leaving the CPU as idle for after the main content downloading time is important. In our example, after the First Meaningful Paint and Largest Contentful Paint, there is a single interactivity blocker Long Task.
In such a situation, Holistic SEO or a Developer should diagnose the specific code block that causes this situation and optimize it. To improve Time to Interactive, there are several methods that are useful for also other page speed metrics. You will find these methods below in the context of Time to Interactive.
What is Quiet Window and Relation to the Time to Interactive?
Quiet Window term is related to the Time to Interactive directly. It measures the CPU Blocking time after the First Contentful Paint. If there is no “Long Task” after the First Contentful Paint for the 5 seconds, it means that the user can see the content and interact it continuously after the main content has been downloaded. Long Tasks are determined by the Browsers’ Long Task API.
In this context, if a web site uses the server-side rendering, the Holistic SEO or the Developer should be more careful about the Time to Interactive. Because, Server-side Rendering or the Pre-rendering can improve the First Paint, First Contentful Paint, First Meaningful Paint, and First Contentful Paint while decreasing the Time to Interactive performance.
What is the Consistent Interactivity and Relation to the Time to Interactive?
To understand the Pagespeed Science, knowing the related terms to the different page speed metrics is important. In this context, Consistent Interactivity means the web page is interactive for a long period of time without any interruption. Consistent Interactivity and the Quiet Window are the related terms to each other in terms of Time to Interactive Measurement. And, Time to First Byte is related to the First Paint, First Input Delay, First Contentful Paint, First Meaningful Paint and Total Blocking Time in terms of web site usability and page speed science.
User-centric performance metrics are directly related to the users’ experience during the web page loading process, “loading responsiveness” is directly related to the users’ interactivity to the during the page loading process. In this context, the Consistent Interactivity term has the importance to understand Time to Interactive.
- Render the most important web page assets before others.
- Do not use long variable chains and do not use global scope instead of local scope.
- Use “defer” and “async” according to the Main Thread’s Situation.
Optimize CSS Files and Images for Better Time to Interactive Metric
To improve the Time to Interactive performance metric, CSS Files, and also Images are important. To improve the “Fully Interactive” timing, optimizing image and CSS files are important so that the First CPU Idle, Largest Contentful Paint, and naturally TTI can happen earlier. You may use the methods below for optimizing image and CSS files in terms of improving the Time to Interactive.
- Clean the unused and dead codes from the CSS Files.
- Clean the multiple IDs from the CSS Files.
- Unify the CSS Files to decrease the request count.
- Inline the Critical CSS Codes to create faster visual communication with the user.
- Preload the important CSS Files.
- Download some of the CSS Files as asynchronously to eliminate Render-blocking Resources.
- Use lesser Color Codes to prevent the bloating of the CSS Files.
- Refactor the CSS Files to prevent the bloating of the CSS Files.
To optimize the image files in terms of improving the Time to Interactive, you may use the methods below:
- Use the more efficient image formats and file extensions.
- Delete the unnecessary image pixels to decrease the size of the image.
- Try to use inlined images such as Base64 or SVG.
- Delete the image metadata to decrease the size of the image files.
- Try to use CDN to deliver the images faster without overloading the actual web site server.
- Try to find the best Image Optimization Algorithm for the UX and also Web Page Performance.
Why is Time to Interactive Important for User Experience and Holistic SEO?
According to the Long Task API, if the main thread of the browser is busy more than 50 MS, it means that there is a blocking situation for user interactivity. If the user can’t interact with the web page, this situation will frustrate the user. TTI is important for creating a reliable impression on the users’ perception and protect the users’ visit intent in their focus. If there is a web site usability issue on the web page, users’ “bad abandonment” possibility will increase.
If there is a bad UX, the SEO Performance also will suffer from this situation. That’s why being a Coder / Marketer or Holistic SEO is important. Thanks to this vision, a Holistic SEO can simply diagnose the Long Task, understand the reasons by examining the code structure, test the users’ behavior and web page’s usability and optimize the web page’s interactivity for a better Search Engine Quality Score and Trust for specific search intents.
- What is Interaction to Next Paint (INP), and How to Optimize It - December 7, 2023
- Newsletter: Definition, How It Works, Purpose, Examples, and Benefits - July 11, 2023
- Entity Identity Creation and Management: A Feminist SEO Case Study - March 23, 2023