I want to implement lazy loading for Stripe.js
If you have implemented Stripe payments, Stripe.js will also be loaded on product pages. The answer to the question of why it's loaded even though it's not necessary was found in the Stripe.js reference.
To make the most of Stripe's advanced fraud features, include this script on all pages, not just your checkout page. This allows Stripe to detect suspicious behavior that may indicate fraud as customers browse your website.
This is too harmful... From a security perspective, processing only during payment should be sufficient, but this is unacceptable. I'm not an expert, but I wonder if it also includes data collection?
Thanks to this, it becomes heavy, and I want to improve this somehow... At least I want to implement lazy loading.