#✅ Speeding up API updates

6 messages · Page 1 of 1 (latest)

white herald
#

Hi everyone, does anyone know if I can speed up how long the refresh of API takes?

I have an app that polls a collection every 10 seconds, but the data coming back in the response takes a good couple of minutes before it shows the change I made in data studio.

I know we now have Web sockets, but that doesn't work for my current situation.

Thanks in advance.

devout pantherBOT
#

Thanks for posting! This is a community powered server, so you may or may not get an answer based on available help and expertise. To increase your chances of somebody being able to help you, please help us help you making sure you:

  • Adding an explanation of exactly what you're trying to achieve.
  • Adding any and all related code or previous attempts.
  • Describing the exact issue or error you are facing.
  • Posting any screenshots if applicable.
  • Reading through https://stackoverflow.com/help/how-to-ask.

When you're done with this thread, please close it. Thanks! ✨

(If you have a support agreement and need help, please contact the core team via email.)

crimson jacinth
#

Is it possible you enabled caching but did not enable cache auto purge? Updates should be (and are for me) instantaneous.

white herald
#

Thanks for the advice, I will investigate caching and have a look.

#

I added the cache auto purge option and that fixed the issue - thank you again!

devout pantherBOT
#

✅ Speeding up API updates