If users go through cart → shipping → payment, add this on the cart page to prefetch the SDK:
<link rel="prefetch" href="https://cdn.purse-sandbox.com/headless-checkout/latest/purse.umd.js" as="script">
The SDK will be cached and ready when users reach checkout.