Difference DiskCacheStrategy in Glide v4

  • 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 this

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)