#noble_gull_47737

1 messages · Page 1 of 1 (latest)

zealous sphinxBOT
floral stirrup
#

Have you looked at the developer tools in browser and analyzed the flight times of your requests? Do you know where the time is coming from?

shut carbon
#

Sorry Im learning yet but It pagespeed insights It shows that stripe It causing 5710 ms

#

Things like react that I dont even use

#

And I just added the script for stripe to work, and 6 link payment buttons on the html

floral stirrup
#

so, can you remove React from your code so it doesn't get imported?

#

Also, what 6 buttons are you talking about specifically?

shut carbon
#

I dont have

#

React

shut carbon
#

Can I show you the code or link the project?

floral stirrup
#

Do you have a URL I can visit to see all the network requests?

shut carbon
#

You mean URL of the web

#

I have yes

#

It is that one

#

All my stripe is on the HTML5 cause I am using link pay that makes the buttons for each product and the script to stripe to work

#

It shows a lot of things that my code dont have

#

On pc a bit better but on the phone It slows a lot

floral stirrup
#

Yeah, on PC I'm seeing really low latency

shut carbon
#

Yeah

#

It just has 6 products

#

I dont get it😫

floral stirrup
#

They're only slightly longer on mobile too. Are you sure it's not your internet connection?

shut carbon
#

Yes im sure

#

I cant cache control with stripe right?

#

It just shows a lot slow

#

Tried also in local

floral stirrup
#

How are you sure then? Sorry, it's just hard to understand what else might be going wrong when the network requests appear to have normal flight times on my end, but not yours

shut carbon
#

It is that normal?

#

Also the buy buttons on html on me appears on red in Network

#

It says sentry react 624 ms I dont even use react framework I dont know where the slow can come from ☹️

floral stirrup
#

I saw those cancelled requests too, but chose to ignore them, since they have 0ms latency

#

Is the buy-button a 3rd party extension? I'm having trouble figuring out if that's a Stripe product, since I haven't seen it before.

shut carbon
#

Wait I show you

#

The buttons are generated by the products

#

Of linkpay

floral stirrup
#

like, what are you using to create those buttons? What is Linkpay?

shut carbon
#

Stripe link payment method

#

One second

#

<stripe-buy-button
buy-button-id="buy_btn_1O0LYAGiDFeX5sb69F9NprVQ"
publishable-key="pk_test_51O0KDfGiDFeX5sb6dRUMyUj3AzRIKWAT7kThgh2a0mE9WayN81NlggUiTBy7aOIZ9kKoDom8URXhQC6CEE7NvgW100N71oaeI1"
>
</stripe-buy-button>

#

It is that

floral stirrup
shut carbon
#

Yes

floral stirrup
#

Let me repro. Just a sec

shut carbon
#

The buttons give me a lot slow or pagespeed insights or Google lightconsole says that It gives me a lot MS

#

And I dont get it how since is in the HTML5 also is like almost not code at all☹️

#

Total blocking time goes crazy

floral stirrup
#

Huh... I'm getting them too. Let me inquire internally

shut carbon
#

Yeah sorry for give u headaches and explainimg myself bad Im just noob dev😆

floral stirrup
#

No worries! You found what looks to be a bug, so you're already wayyyy ahead of a lot of folks

shut carbon
#

Aww thats cool( I mean that I found the bug) so It will be fixed all I need is to wait right 😃

floral stirrup
#

I'm filing a bug report with the product team, but I don't know what the ETA on a fix would be. Nonetheless, these don't appear to be affecting your flight times.

shut carbon
#

It just bothers me for the score

#

Trying to improve perfomance

floral stirrup
#

Actually, they might be affecting the flight time. If you sort the network requests in descending order, a lot of the ms you're seeing is coming from stripe.error.com, so fixing this might be the solution

shut carbon
#

I am using It for my project anyways for my portafolio

#

But anyways you made my night with your words since I am self taught developer, you solved my question 👍

zealous sphinxBOT
floral stirrup
#

I'm really happy that the outcome is good on your end! Thanks for sticking it out and helping me understand

shut carbon
#

Thanks to you all working on stripe love It and waiting for more amazing features

shut carbon
# floral stirrup

Yeah so weird but I dont mind since It is just project for portafolio but It bothers me for perfomance score but gonna wait 😃

#

It is so weird because when you click the buttons it instant goes to checkout

hollow river
#

Yeah, we'll share this with out product team but yeah, the Checkout Session redirect works fine for me too.

shut carbon
#

Mobile still red 1840 ms

hollow river
#

Can you share the buy button id with me?

shut carbon
#

I have 6

#

Do I share the project with u?

hollow river
#

No, just one is fine

shut carbon
#

This one I shared before

#

<stripe-buy-button
buy-button-id="buy_btn_1O0LYAGiDFeX5sb69F9NprVQ"
publishable-key="pk_test_51O0KDfGiDFeX5sb6dRUMyUj3AzRIKWAT7kThgh2a0mE9WayN81NlggUiTBy7aOIZ9kKoDom8URXhQC6CEE7NvgW100N71oaeI1"
>
</stripe-buy-button>

hollow river
#

You probably don't want to share the publishable key

#

It's fine since it's a test mode

shut carbon
#

Yeah

hollow river
#

but wanted to give you heads up

#

Thank you! I'll share this with the team. Thank you for writing in about this.

shut carbon
#

To you guys

#

😎

#

Also It shows some errors on my local console

#

or @ buy-button-app-ef6a44fb4083eb4ef7f1406fb1be8145.js:1
i.componentDidCatch.n.callback @ buy-button-app-ef6a44fb4083eb4ef7f1406fb1be8145.js:1
Xt @ buy-button-app-ef6a44fb4083eb4ef7f1406fb1be8145.js:1
Yt @ buy-button-app-ef6a44fb4083eb4ef7f1406fb1be8145.js:1
jr @ buy-button-app-ef6a44fb4083eb4ef7f1406fb1be8145.js:1
t.unstable_runWithPriority @ buy-button-app-ef6a44fb4083eb4ef7f1406fb1be8145.js:1
At @ buy-button-app-ef6a44fb4083eb4ef7f1406fb1be8145.js:1
Lr @ buy-button-app-ef6a44fb4083eb4ef7f1406fb1be8145.js:1
Sr @ buy-button-app-ef6a44fb4083eb4ef7f1406fb1be8145.js:1
(anónimo) @ buy-button-app-ef6a44fb4083eb4ef7f1406fb1be8145.js:1
t.unstable_runWithPriority @ buy-button-app-ef6a44fb4083eb4ef7f1406fb1be8145.js:1
At @ buy-button-app-ef6a44fb4083eb4ef7f1406fb1be8145.js:1
It @ buy-button-app-ef6a44fb4083eb4ef7f1406fb1be8145.js:1
Nt @ buy-button-app-ef6a44fb4083eb4ef7f1406fb1be8145.js:1
br @ buy-button-app-ef6a44fb4083eb4ef7f1406fb1be8145.js:1
Mn @ buy-button-app-ef6a44fb4083eb4ef7f1406fb1be8145.js:1
(anónimo) @ buy-button-app-ef6a44fb4083eb4ef7f1406fb1be8145.js:1

#

Some are these

hollow river
#

Thank you for sharing these.

shut carbon
#

Dont know how how copy all

#

But

#

It shows the error with something called merchant UI api stripe

hollow river
#

No need to share all, this is good.