You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
[ios] Add an API for setting the ambient cache size #3437
Should the SDK pick a default (other than kMaximumCacheEntrySize)? This doesn’t sound like something we could include in setup steps, because developers would have no feel for a good maximum cache size, at least initially.
kMaximumCacheEntrySize stands for the maximum size of the an individual entry in the cache. The default today is 5MB which is quite big and very unlikely to hit considering that our vector tiles and raster tiles are relatively small.
The default size for the cache is 0 which stands for unlimited (like it was before). iOS could set its own default at the moment it creates the SQLiteCache object.
Activity
1ec5 commentedon Jan 5, 2016
Should the SDK pick a default (other than
kMaximumCacheEntrySize)? This doesn’t sound like something we could include in setup steps, because developers would have no feel for a good maximum cache size, at least initially.tmpsantos commentedon Jan 6, 2016
kMaximumCacheEntrySizestands for the maximum size of the an individual entry in the cache. The default today is5MBwhich is quite big and very unlikely to hit considering that our vector tiles and raster tiles are relatively small.The default size for the cache is
0which stands for unlimited (like it was before). iOS could set its own default at the moment it creates theSQLiteCacheobject.1ec5 commentedon Jan 6, 2016
OK, so we need to come up with a reasonable default to bake into the iOS SDK. What factors should we account for?
jfirebaugh commentedon Jan 8, 2016
Please hold on this until design and implementation of offline settles down. We have too much already moving in this area.
[-][iOS] Add an API for setting the cache size[/-][+]Add an API for setting the ambient cache size[/+]friedbunny commentedon Jul 18, 2016
This feature does not appear to currently exist for Android, so I’ve changed the issue name and added the Android tag.
jfirebaugh commentedon Jul 18, 2016
I think #3436 was intended to be the parallel issue for Android.
friedbunny commentedon Jul 18, 2016
Errg, OK. Let’s proactively link these issues, if we’re going to cut platform-specific tickets.
[-]Add an API for setting the ambient cache size[/-][+][ios] Add an API for setting the ambient cache size[/+]1ec5 commentedon Jun 26, 2017
This API is going away in #9371.