Describe the bug
If you activate the payment buttons (Apple- / Google-Pay), additional 33 (!!) requests to Stripe get fired in order to just create the payment button.
This results in massive degradation of speed metrics (GTMetrix drop from A->B, Pingdom drop A->C, Pagespeed drop 77->39 ) which results in bad user experience and lower ranking in search results.
On our pages, activating the payment buttons results in a 133% increase in total requests per page load.
To Reproduce
Steps to reproduce the behavior:
Disable payment buttons
go to tools.pingdom.com and probe the page, check number of requests with stripe URLs
enable payment buttons
redo step 2 --> some 33 additional requests can be counted
Expected behavior
Payment button integration uses a reasonable amount of requests (less than 5, best 1) and thus has no negative impact on speed metrics.
Screenshots
Without Payment Buttons
Pingdom
Gtmetrix
Google Pagespeed Mobile
With Payment Buttons (no other changes)
Pingdom
Gtmetrix
Google Pagespeed Mobile
Environment (please complete the following information):
WordPress Version 5.6
WooCommerce Version 4.8.0
Stripe Plugin Version 4.7.0
Browser [e.g. chrome, safari] and Version all
Any other plugins installed (many, but it is a quite local issue and reproducible with and without)
Additional context
Add any other context about the problem here.
Describe the bug If you activate the payment buttons (Apple- / Google-Pay), additional 33 (!!) requests to Stripe get fired in order to just create the payment button. This results in massive degradation of speed metrics (GTMetrix drop from A->B, Pingdom drop A->C, Pagespeed drop 77->39 ) which results in bad user experience and lower ranking in search results. On our pages, activating the payment buttons results in a 133% increase in total requests per page load.
To Reproduce Steps to reproduce the behavior:
Expected behavior Payment button integration uses a reasonable amount of requests (less than 5, best 1) and thus has no negative impact on speed metrics.
Screenshots Without Payment Buttons Pingdom
Gtmetrix
Google Pagespeed Mobile
With Payment Buttons (no other changes) Pingdom
Gtmetrix
Google Pagespeed Mobile
Environment (please complete the following information):
Additional context Add any other context about the problem here.