Yep, you&#x27;re right that that&#x27;s how jQuery works [1]. I&#x27;m not an expert in this, but I would expect requestAnimationFrame to be quicker than DOMContentLoaded, because it should occur before a paint [2], rather than after the event fires, which is presumably afterward. If the stylesheet is in cache, this gives the browser a chance to load it before the first render, to prevent a flash of unstyled content.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;jquery&#x2F;jquery&#x2F;blob&#x2F;dabd5ba96c05279b3ffb052db5b8d17f75996694&#x2F;src&#x2F;core&#x2F;ready.js#L60-L64" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jquery&#x2F;jquery&#x2F;blob&#x2F;dabd5ba96c05279b3ffb05...</a><p>[2] <a href="https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Web&#x2F;API&#x2F;window&#x2F;requestAnimationFrame" rel="nofollow">https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Web&#x2F;API&#x2F;window&#x2F;requ...</a>