Loading Strategy

In addtion to the BrowseStoreStrategy (BrowseStoreStrategy), FMTCTileProviders also take a BrowseLoadingStrategy in the FMTCTileProvider.loadingStrategy argument, which determines whether the network or cache is preferred during browse caching, and how to fallback if the primary method doesn't work.

StrategyPreferred MethodFallback Method

cacheOnly

Cache

None

cacheFirst (default)

Cache

Network

onlineFirst

Network

Cache

Standard Tile Provider

Network

None

FMTCTileProvider must have at least one store specified. Use a standard NetworkTileProvider if caching is disabled.

Last updated

© Luka Stillingfleet (JaffaKetchup)