Created
July 11, 2018 06:23
-
-
Save tw-Frey/63549a50a33e6d1eb9f2fcf31e469a99 to your computer and use it in GitHub Desktop.
Git Cache Strategies
This file contains 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
Glide 3.x & 4.x: DiskCacheStrategy.NONE caches nothing | |
Glide 4.x: DiskCacheStrategy.DATA, Glide 3.x: DiskCacheStrategy.SOURCE caches only the original full-resolution image. | |
Glide 4.x: DiskCacheStrategy.RESOURCE Glide 3.x: DiskCacheStrategy.RESULT caches only the final image, after reducing the resolution (and possibly transformations) (default behavior of Glide 3.x) | |
Glide 4.x only: DiskCacheStrategy.AUTOMATIC intelligently chooses a cache strategy based on the resource (default behavior of Glide 4.x) | |
Glide 3.x & 4.x: DiskCacheStrategy.ALL caches all versions of the image | |
Further Read: | |
https://futurestud.io/tutorials/glide-caching-basics |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment