What is the minimum cache length I can specify without request rejection in Remote Config? #6410
Unanswered
SoohyungJung
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi there! This is best asked on stackoverflow with firebase tags (to attract attention of firebase team members from google) as it is not react-native specific, so we won't have authoritative answers here. In general though, this is just how long your app - on each mobile device - will consider a remote value cached locally as "authoritative". That's it. If the local value has been feetched more than minimumFetchIntervalMillis milliseconds ago, it will discard local value and refetch from server. The server may throttle your requests. Zero means never cache and that's probably not what you want. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have been trying to figure out whether I can utilize Remote Config to set maintenance mode in a React Native project without caching issues.
According to the Remote Config documentation like above, it seems like I am able to specify my own cache length as 0 but it can possibly cause request rejections.
Then, I wonder if it is okay to set a value other than 0 such as 30000 to the
minimumFetchIntervalMillis
property to avoid rejections, or is there any certain minimum cache length to do so?Thank you in advance.
Soo
Beta Was this translation helpful? Give feedback.
All reactions