You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Stripe settings admin page has been identified in pcShBQ-2J3-p2 as having a slow response time.
During my initial investigation, server response was consistently > 2s on a bare JN site:
Part of the slowness looks like it's due to retrieving the merchant's account information from Stripe. We always do a fresh retrieve on page load, and cache the data for subsequent, same-request queries.
Next step: Investigate if there are further performance improvements we can do for this page.
Request URL: wp-admin/admin.php?page=wc-settings&tab=checkout§ion=stripe
Context: pcShBQ-2J3-p2
The text was updated successfully, but these errors were encountered:
Next step: Investigate if there are further performance improvements we can do for this page.
The three requests to Stripe that we do on page load appear to be the most significant contributors to page load performance.
As @annemirasol noted above, one of them is made to retrieve account data. Other two are made to retrieve the two Oauth URLs (test and prod).
I am not certain if these URLs can be cached. If not, for merchants who have already connected the Stripe account, these URLs are used in the "Configure connection" modal. One possible optimization could be to avoid retrieving them during the page load, instead get them through an API call only when the user opens the modal
The Stripe settings admin page has been identified in pcShBQ-2J3-p2 as having a slow response time.
During my initial investigation, server response was consistently > 2s on a bare JN site:
Part of the slowness looks like it's due to retrieving the merchant's account information from Stripe. We always do a fresh retrieve on page load, and cache the data for subsequent, same-request queries.
Next step: Investigate if there are further performance improvements we can do for this page.
Request URL:
wp-admin/admin.php?page=wc-settings&tab=checkout§ion=stripe
Context: pcShBQ-2J3-p2
The text was updated successfully, but these errors were encountered: