PricingBlog

Is there a way to improve the call to website.toodle.site?

  • uunicode-1268649203983323238

    unicodes

    1 year ago

    I'm asking regarding that big line that goes tu 1.091 s. Update: Is from the supabase response.
    1268649204381778001-Screenshot_2024-08-01_at_22.15.32.png
  • lucasg-1268649924665278535

    Lucas G

    1 year ago

    Should be an edge scenario
  • Not normally the case
  • Can you verify
  • Or is your app very “heavy?
  • andreasmoller-1268650091611160737

    Andreas Møller

    1 year ago

    If you have any APIs on the page set to auto fetch they will be fetched server side. That means they will be added to the load time
  • uunicode-1268650232808345732

    unicodes

    1 year ago

    I have only one auto fetch, the one to show the first necessary content.
  • andreasmoller-1268650279352533052

    Andreas Møller

    1 year ago

    Other than that there is no way for you to improve the server response time. We are however working on several ways we can improve it
  • Try calling the API though something like postman to get a feel for how much it adds to the load time
  • uunicode-1268651791617101904

    unicodes

    1 year ago

    not that good in postman too.
    1268651791441203261-Screenshot_2024-08-01_at_22.28.50.png
  • lucasg-1268652557148885012

    Lucas G

    1 year ago

    That makes more sense
  • uunicode-1268652733578084392

    unicodes

    1 year ago

    If the query performns very good, is from supabase?
    1268652733322363030-Screenshot_2024-08-01_at_22.32.43.png
  • lucasg-1268654984082358375

    Lucas G

    1 year ago

    It seems like it’s a large transfer
  • But perhaps supabase is experiencing performance issues
  • uunicode-1268655211950375083

    unicodes

    1 year ago

    1268655211770155028-Screenshot_2024-08-01_at_22.42.42.png
  • It is just 74kb 😕 . I noticed that free plan is not powerd very well.
  • lucasg-1268655386924159118

    Lucas G

    1 year ago

    Ah yeah that’s weird
  • Hmm
  • I’m on free plan and haven’t experienced that
  • Usually 100-300ms for me 🤔
  • uunicode-1268656127500095541

    unicodes

    1 year ago

    I will try tomorrow again. Thank you!
  • Tod-1268656129299185756

    Tod

    1 year ago

    Great energy @unicodes! Your continuous contribution to the toddle Community just made you advance to Community Level 8!
  • malbertoz-1275038806470295584

    malberto

    1 year ago

    @unicodes are you querying the primary key? if not indexing may help. just noticed it did improve my execution time.
  • uunicode-1275848252968931361

    unicodes

    1 year ago

    Thank you Malberto, I would try to index it. 🙏