Only load Stripe if a project has paid memberships
complete
Josh Lopez
1) The problem → I am using free memberships and noticed the stripe script is still loading even though I do not have stripe connected.
2) Why is this important → This is important because I want to make my page as quick as possible.
3) What's your plan B → My plan b is to have a slower site.
4) Possible solutions we could build for you → Possible solution is to make a new version of memberstack.js that does not have stripe included.
Duncan Hamra
complete
This has been accounted for in Memberstack 2.0 👍
Patrik Lidin
Any update on this topic? Still takes up a large chunk of load.
Naitik Mehta
in progress
We're currently reviewing this and working on a potential fix. More updates to follow soon 🙌
JS
Copied on Intercom from jakob@ideanote.io
" Hey, I'm trying to optimize load times and lighthouse scores.
1) You are loading Stripe even though I don't have a paid plan. That would be nice if that could be loaded only if needed.
2) Google Lighthouse finds a link without descriptive text in your code and therefore gives the page a worse score, see the screenshot below:"
Duncan Hamra
Merged in a post:
Option to Remove Stripe from MS Script
Matthew Palmer
1) The problem → Stripe is automatically loaded with the Memberstack script, but my members are not required to pay anything and I don't need it loading with everything else on my website.
2) Why is this important → I want to optimize my website so that nothing loads that isn't needed. Speed and user experience are important to me.
3) What's your plan B → N/A
4) Possible solutions we could build for you → A way to stop Stripe from loading with the Memberstack script if I don't need it.
Duncan Hamra
Oh good point! I'll ask the team and see what can be done 😁
Do you know what kind of effect this is having on performance?
S
Sam Ross-Gower
Duncan Hamra: Hi Duncan, on our site it's causing quite a big slowdown. You can see the full scan here: https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fcryptosense.com
Duncan Hamra
Sam Ross-Gower: This is suuuuuper helpful 🙏 Thank you! I'll follow up once we have next steps here.