Disable preloading of fullscreen-sized image

Fullscreen clicks are only about 5-10% of image views, and there
are a lot of complaints about the app being slow, so until the
speed can be improved in other ways, there is no point in
preloading for the fullscreen mode. Unlike the normal preloading,
it is not queued, and it slows down the normal image loading.

Bug: 64135
Change-Id: Ic145c8a1d5c3729f684e2f6c96f7d84869ef4087
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/474
This commit is contained in:
Gergő Tisza 2014-04-19 15:53:28 +00:00
parent 119bdad504
commit bfbc58fce0

View file

@ -240,7 +240,7 @@
this.preloadImagesMetadata();
this.preloadThumbnails();
this.preloadFullscreenThumbnail( image );
// this.preloadFullscreenThumbnail( image ); // disabled - #474
imageWidths = this.ui.canvas.getCurrentImageWidths();