Page MenuHomePhabricator

Screen is black for a short while when opening the viewer
Closed, ResolvedPublic

Description

Migrated from: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/483

Steps to reproduce

  • Warm the cache, then reload the page
  • Click on a thumbnail

Expected behavior

Blurry placeholder and metadata panel appear immediately

Actual behavior

It takes a few seconds for them to appear.

Related Bugs

Related Stories

Related Changesets

Event Timeline

MingleTerminator raised the priority of this task from to High.Dec 8 2014, 5:30 PM
MingleTerminator added a project: Multimedia.
In mingle on 2014-04-23 at 01:11:07, @Tgr wrote:

Locally, this is caused by mw.loader always doing a web request (even though the caching headers seem reasonable). Must be something with the vagrant setup, can't reproduce this on beta, and the loading times are reasonable there (loadViewer() runs <200ms on a warm cache).

In mingle on 2014-04-23 at 01:17:11, @Gilles wrote:

Locally the JS will always load from the server (i.e. browser caching of the JS will never happen). I imagine that's on purpose in order to avoid hitting stale code while developing.

On beta I can't reproduce this bug.