Caching General Inquiry

Hey all,

Please pardon the fact that I am an extreme novice when it comes to this subject. I am wondering, is there some user setting that I need to change to control the cache “behavior” of my app, or does the app automatically cache when a user syncs the app?

Also, I noticed that one of the system functions in my app is called “Cache”, when my user clicks this action, what is it doing effectively? It seems that if the system is already going to cache when we sync the app, then what is the benefit of the action button?

Again, please pardon my “green”-ness…
I just had a green smoothie.

Wesley Whitaker
Nimble Transport

Hello mate,

We have to be bit careful to talk about cache and sync stuffs. It is absolutely upto app creator to determine how you would like Appsheet app to behave .

When you access to app, i.e. launch app, then your device (mobile phone, laptop whatever) will start to read the data from the data source and then cache (keep) to that device storage, which is usually browser storage.

Thats because appsheet app can keep working even after you lose the connectivity to the internet, as the app keeps working based on the cached data on the device. While you are off the line, but you made the change the data, for instance, add new data, edit, delete whatsoever, it is tentatively stored within the device along with the cached data. Once the connectivity is recovered, then Appsheet is smart enough to start to push that change in data onto the backend server.

Then to address your query, then it is depending on what you want to achieve?
When your app users access to your app, you want to make sure to present the most latest data from the backend?

Then you should set “sync upon start” option to be turned on. By doing so, when your app user launch app, it always start to sync and present the most up-to-date date at the end.
If we set this turned off, then it is not guaranteed the app user are seeing the most latest data, as it is showing the most recent “cached” data out of the device.
On that setting, user need to explicitly “sync” the app to make sure they are accessing the most latest.
Downside of this setting is to take a while (but secs) to launch the app…
Your apps user may start to claim it takes bit of time and frastraction as it take 10 secs whenever they lanuch app. But it is unavoidable to make sure user viewing the most latest data upon starting app. It is kinda of trade-off.

Based on that, you decide where you put your priority. Start app fast ? Then dont turn on that setting on. Rely on the cache data, if your app is not frequently being updated.
To the contrary, the data is frequently updated and you want to make sure to present the latest data to the app user, i recomment you set the setting being turned on.



Koichi San,

Thank you oh so much!! :slight_smile: :slight_smile: :smile: :smile: :upside_down_face:

1 Like

Always pleasure.

1 Like

You’re like the AppSheet Samurai! :slight_smile:

I m just one of Appsheet users, like you, haha.

1 Like