public ImageRequestBuilder disableMemoryCache() {
    int mask =
        CachesLocationsMasks.BITMAP_READ
            | CachesLocationsMasks.BITMAP_WRITE
            | CachesLocationsMasks.ENCODED_READ
            | CachesLocationsMasks.ENCODED_WRITE;
    mCachesDisabled = mCachesDisabled | mask;
    return this;
  }
Disables memory cache for this request.
imagepipeline/src/main/java/com/facebook/imagepipeline/request/ImageRequestBuilder.java