[{"data":1,"prerenderedAt":57},["ShallowReactive",2],{"\u002Fglossary\u002Fmain-thread":3,"\u002Fglossary\u002Fmain-thread:related":39},{"id":4,"title":5,"author":6,"authorImage":7,"body":8,"category":24,"date":25,"description":26,"draft":27,"extension":28,"letter":29,"meta":30,"navigation":31,"path":32,"readTime":33,"related":34,"seo":35,"stem":37,"term":5,"__hash__":38},"glossary\u002Fglossary\u002Fmain-thread.md","Main Thread","Fabian Krumbholz","\u002Fimages\u002Fauthors\u002Ffabian-krumbholz.webp",{"type":9,"value":10,"toc":20},"minimark",[11],[12,13,14,15,19],"p",{},"The main thread is the primary \"workspace\" within a web browser where it performs most of the work required to display a webpage. This includes parsing HTML and CSS, executing JavaScript, and responding to user interactions. If the main thread is busy for too long with a heavy script, it becomes \"blocked\" and cannot respond to user clicks or taps, leading to a laggy, unresponsive experience and a poor ",[16,17,18],"strong",{},"Interaction to Next Paint (INP)"," score.",{"title":21,"searchDepth":22,"depth":22,"links":23},"",2,[],null,"April 8, 2026","The main thread is the primary \"workspace\" within a web browser where it performs most of the work required to display a webpage.",false,"md","M",{},true,"\u002Fglossary\u002Fmain-thread","1 min read",[],{"title":36,"description":26},"Main Thread: Definition | Web Performance Glossary","glossary\u002Fmain-thread","-1zY7JPCx6rr7FIqLqsqLK3_qGbvinSz-MHVy0slAQE",[40,44,48,52],{"path":41,"title":42,"description":43,"letter":29},"\u002Fglossary\u002Fmachine-learning-models","Machine Learning Models","These are the algorithms that power Speed Kit's Prediction Engine. They are trained on billions of anonymous user interactions collected from our Real User Monitoring (RUM) system to identify patte…",{"path":45,"title":46,"description":47,"letter":29},"\u002Fglossary\u002Fmetadata-management-image","Metadata Management (Image)","This is part of Speed Kit's Image Optimization process. It involves automatically stripping non-essential, invisible data (metadata) from image files.",{"path":49,"title":50,"description":51,"letter":29},"\u002Fglossary\u002Fmulti-page-application-mpa","Multi-Page Application (MPA)","A Multi-Page Application is a traditional website architecture where each distinct page is a separate HTML document. Every navigation from one page to another involves a full page reload (Hard Navi…",{"path":53,"title":54,"description":55,"letter":56},"\u002Fglossary\u002Fa-b-testing","A\u002FB Testing","A\u002FB testing is a method of comparing two versions of a webpage to see which one performs better. For example, an e-commerce store might show 50% of its visitors a green \"Buy Now\" button (Version A)…","A",1787756715131]