mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-17 04:43:18 +00:00
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:
parent
119bdad504
commit
bfbc58fce0
|
@ -240,7 +240,7 @@
|
||||||
|
|
||||||
this.preloadImagesMetadata();
|
this.preloadImagesMetadata();
|
||||||
this.preloadThumbnails();
|
this.preloadThumbnails();
|
||||||
this.preloadFullscreenThumbnail( image );
|
// this.preloadFullscreenThumbnail( image ); // disabled - #474
|
||||||
|
|
||||||
imageWidths = this.ui.canvas.getCurrentImageWidths();
|
imageWidths = this.ui.canvas.getCurrentImageWidths();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue