addLastModifiedToFileCacheKey

fun addLastModifiedToFileCacheKey(enable: Boolean): ImageLoader.Builder

Enables adding File.lastModified to the memory cache key when loading an image from a File.

This allows subsequent requests that load the same file to miss the memory cache if the file has been updated. However, if the memory cache check occurs on the main thread (see launchInterceptorChainOnMainThread) calling File.lastModified will cause a strict mode violation.

Default: true