Web Vitals & Performance (50 Qs)•Part 1: Basic & Foundational Concepts (Junior / Entry-Level)
What is Time to First Byte (TTFB) and how does it impact frontend performance?
junior LevelFormsPerformance
In Simple Words: TTFB measures the time between the browser sending the initial HTTP request and receiving the very first byte of response data from the web server:
- Components:
DNS Lookup + TCP Handshake + TLS Negotiation + Server Processing Time. - Why Critical: TTFB is the baseline foundation for all other metrics. If your backend takes 2.0 seconds to respond with HTML, achieving a 2.5s LCP is mathematically impossible!
- Good TTFB: $\le 800\text{ ms}$ (Edge CDNs achieve $<100\text{ms}$).