How can I cache my API calls?

  • gabosca01-1312412646154309652

    Gabriel Salazar

    5 months ago

    Hi, I would like to know if it is possible to cache API calls, for example from Supabase? To help us consume less database resources and improve the user experience.
  • Tod-1312412647756533910

    Tod

    5 months ago

    Great energy @Gabriel Salazar! Your continuous contribution to the toddle Community just made you advance to Community Level 1!
  • lucasg-1312450459868463104

    Lucas G

    5 months ago

    Not possible right now but it’s a great suggestion
  • lucasg-1312450777637457930

    Lucas G

    5 months ago

    I think the idea is already floating around but maybe still make a suggestion post for it
  • erikbeus-1312858785466941563

    Erik Beuschau

    5 months ago

    Great question @Gabriel Salazar
    This is something we have already indicated we'll add to our scale-up plan (if you look under Tools -> Show more) https://toddle.dev/pricing
    We don't support it just yet, but this would mean you could override the default cache from tools like database services, Contentful, Airtable etc.
  • lucasg-1312863060595048469

    Lucas G

    5 months ago

    1312863060687327383-image0.jpg
  • 903997958196957254-@Erik Beuschau
    Great question @Gabriel Salazar
    This is something we have already indicated we'll add to our scale-up plan (if you look under Tools -> Show more)
    https://toddle.dev/pricing
    We don't support it just yet, but this would mean you could override the default cache from tools like database services, Contentful, Airtable etc.
    lucasg-1312863168451710996

    Lucas G

    5 months ago

    It shows on the startup plan on the general pricing cards
  • erikbeus-1312863360584515645

    Erik Beuschau

    5 months ago

    Oh. We should probably align that 🤦‍♂️ Good thing we didn't release it yet 😉
    👍1
  • lucasg-1312863473675538566

    Lucas G

    5 months ago

    In the detailed version it is correct
    👍1
  • gabosca01-1313145496872681523

    Gabriel Salazar

    5 months ago

    @Erik Beuschau @Lucas G Thank you very much for your response. I have a question: is there an alternative with code that I can use? Can you recommend it?
  • erikbeus-1313154238683152464

    Erik Beuschau

    5 months ago

    You could create a Cloudflare worker and use it as a proxy
  • erikbeus-1313447665580773386

    Erik Beuschau

    5 months ago

    👍1