I got the concept of Remote Config in Firebase but while invoking fetch()
method on the instance FirebaseRemoteConfig
like:
mFirebaseRemoteConfig.fetch(3600)
one has to pass cache expiration time as here it is 3600
. But my question is, why does one have to pass cache expiration in fetch()
method?. What is the use of cache expiration in the fetch()
method? and What this throttle
terminology related to fetch
?
I've gone through this documentation https://firebase.google.com/docs/remote-config/android#caching but I didn't get details about the role of cache in fetching data while working with FirerbaseRemoteConfig.