react-native-video/docs/caching.md
2018-07-19 09:46:27 +02:00

631 B

Caching

Caching is currently only supported on iOS platforms with a CocoaPods setup.

Technology

The cache is backed by SPTPersistentCache and DVAssetLoaderDelegate.

How Does It Work

The caching is based on the url of the asset. SPTPersistentCache is a LRU (last recently used) cache.

By default files expire after 30 days and the maxmimum cache size is 100mb.

In a future release the cache might have more configurable options.