Sat.Dec 09, 2023

article thumbnail

Correctly Configure (Pre) Connections

CSS Wizardry

A trivial performance optimisation to help speed up third-party or other-origin requests is to preconnect them: hint that the browser should preemptively open a full connection ( DNS , TCP , TLS ) to the origin in question, for example: In the right circumstances, this simple, single line of HTML can make pages hundreds of milliseconds faster ! But time and again, I see developers misconfiguring even this most basic of features.

Speed 256