Updating Firestore Documents Using Firebase Cloud Functions is Extremely Slow
I am trying to update documents using Firebase Cloud Functions. My document updates do not need to consider existing values, and since they primarily involve single document updates with minimal risk of conflicts, I am proceeding without transaction handling.
Cache firebase function output to reduce database calls
I have implemented a leaderboard using firebase firestore and functions. I want to cache the output of the function and serve applications using this function through cache. Let’s say I cache it for 3 hours. Is there a method to achieve this on firebase using callable functions? and My app is built with flutter.