From bfbc58fce02426f269f9622749d7203148d3431e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerg=C5=91=20Tisza?= Date: Sat, 19 Apr 2014 15:53:28 +0000 Subject: [PATCH] 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 --- resources/mmv/mmv.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/mmv/mmv.js b/resources/mmv/mmv.js index 7a86ada79..422c51f2e 100755 --- a/resources/mmv/mmv.js +++ b/resources/mmv/mmv.js @@ -240,7 +240,7 @@ this.preloadImagesMetadata(); this.preloadThumbnails(); - this.preloadFullscreenThumbnail( image ); + // this.preloadFullscreenThumbnail( image ); // disabled - #474 imageWidths = this.ui.canvas.getCurrentImageWidths();