[{"data":1,"prerenderedAt":56},["ShallowReactive",2],{"\u002Fglossary\u002Fhtmlimageelementprototypesrc-setter":3,"\u002Fglossary\u002Fhtmlimageelementprototypesrc-setter: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\u002Fhtmlimageelementprototypesrc-setter.md","HTMLImageElement.prototype.src Setter","Fabian Krumbholz","\u002Fimages\u002Fauthors\u002Ffabian-krumbholz.webp",{"type":9,"value":10,"toc":20},"minimark",[11],[12,13,14,15,19],"p",{},"This is a sophisticated programming technique used by Speed Kit's algorithm to accurately measure the ",[16,17,18],"strong",{},"Largest Contentful Paint (LCP)"," on complex, JavaScript-heavy sites. It allows Speed Kit to intercept and know the exact moment a script assigns a source URL to an image tag. This is crucial for identifying the true LCP element and its load time when the main image is loaded dynamically by JavaScript rather than being present in the initial HTML.",{"title":21,"searchDepth":22,"depth":22,"links":23},"",2,[],null,"April 8, 2026","This is a sophisticated programming technique used by Speed Kit's algorithm to accurately measure the Largest Contentful Paint (LCP) on complex, JavaScript-heavy sites.",false,"md","H",{},true,"\u002Fglossary\u002Fhtmlimageelementprototypesrc-setter","1 min read",[],{"title":36,"description":26},"HTMLImageElement.prototype.src Setter: Definition | Web Performance Glossary","glossary\u002Fhtmlimageelementprototypesrc-setter","HX5wPfvC0vb8Atc0TAr-y77hJtKtO_OJMyTtBknZeew",[40,44,48,52],{"path":41,"title":42,"description":43,"letter":29},"\u002Fglossary\u002Fhar","HAR","A HAR (HTTP Archive format) file is a JSON-formatted log of a web browser's interaction with a site. It contains a detailed, timestamped record of every single network request and response, includi…",{"path":45,"title":46,"description":47,"letter":29},"\u002Fglossary\u002Fhtml-size","HTML Size","The amount of data (in bytes) that comprises the HTML document sent from the server to the browser. This includes the HTML markup but excludes CSS, JavaScript, images, and other resources.",{"path":49,"title":50,"description":51,"letter":29},"\u002Fglossary\u002Fhttp2","HTTP\u002F2","HTTP\u002F2 is a major version of the HTTP protocol designed to make websites faster and more efficient. Its key feature is multiplexing, which allows a browser to download multiple resources (like CSS…",{"path":53,"title":54,"description":55,"letter":29},"\u002Fglossary\u002Fhttp3","HTTP\u002F3","HTTP\u002F3 is the latest version of the HTTP protocol, engineered for even greater performance, especially on unreliable networks. It is built on a new transport protocol called QUIC instead of TCP.",1787756714643]