...
TTFB is a metric that measures the time between the request for a resource and when the first byte of a response begins to arrive.
The First Request for Web Page is for an Html resource. So Reducing TTFB for first resource loading will make website load quickly
To measure the Time to First Byte (TTFB) for a website, you can generate a Lighthouse report using your browser's developer tools. Start by right-clicking on the website and selecting "Inspect." Navigate to the "Lighthouse" tab within the developer tools. From there, click on "Analyze page load" to generate the report. Once the analysis is complete, you can find the TTFB details in the relevant section of the report, similar to the example shown in the attached image.
Try to minimize the redirects as it requires browser to make an additional request. Focus on reducing Same origin redirects because as you have control over it while managing cross origin redirects can be tough as it is generally is out of your control.
Use Content Delivery Network(CDN) as they helped in quick loading by caching and compressing static resources.
A TTFB time of 0.8 second or less is considered good for websites
2. Reduce First Content full Paint(FCP)
It is the time from when the user first navigated to the page to when any part of the page content is rendered on the screen
Like TTFB Metrices you can find this metrics in Lighthouse Generated Report similar to the example attached in below image
To provide a good user experience, sites should strive to have a First Contentful Paint of 1.8 seconds or less.
To Reduce the LCP time you need to figure out the critical resources required for FCP and which are not you can find this by right click on website go to inspect and click on 3 dots before cross icon and select run command and run show coverage command. It will give you a report like below image
Identify the critical JS and CSS and move that from render blocking URL to an inline tags because former blocks the parsing of html page. For URL contains non critical JS and CSS mark them with async or defer attributes.
...