Created
January 4, 2026 08:57
-
-
Save skydoves/8153d426f83406688edd1e52a8e1842f to your computer and use it in GitHub Desktop.
Landscapist: Two-Tier Cache Configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| val config = LandscapistConfig( | |
| // Memory cache: LRU with 64MB default | |
| memoryCacheSize = 64 * 1024 * 1024L, | |
| // Disk cache: 100MB default, auto-configured on Android | |
| diskCacheSize = 100 * 1024 * 1024L, | |
| // Enable weak references for recently evicted entries | |
| weakReferencesEnabled = true | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment