Jump to content

First visits via browser take about 45 seconds


Recommended Posts

Posted (edited)

I couldn't find a report specifically for this issue so here goes.

When a user visits https://app.emby.media/ for the first time, loading can take up to 44 seconds and I've seen it take up to almost 60 seconds at times. This causes users who have either reset their history (i.e. are logged out) or want to use emby for the first time to be confused; the page only shows a logo with a black background and nothing else. No spinners or loaders or anything.

I've had users come to me multiple times asking if my server was online. They gave up on loading after about 20 seconds and just assumed the server or Emby itself was unreachable.

I would like to either suggest:

1. removed the load from the current serviceworker(s) and just load the assets directly via http(s), preferable http2 due to it being able to handle loading multiple files asynchronously
2. adding a spinner/loader and "please wait" text to the Emby splash screen to indicate something is going on on the background

image.png.e5a721e7bc249754228b94e86a1e16a2.png

The actual source of the incredible long wait is mainly due to many files being loaded one by one like so: image.png.d5204738f6eb03a2b4ce15c449a57b4f.png

Eventually taking up about 45 seconds on each (first) visit to load a whopping 990 files

image.png.d948762b0cd698345799c1c7a1307de4.png

This also makes adding new devices kind of frustrating because you'll never know if the server is offline, the browser is loading assets or your current connections is just slow.

Edited by brothom
  • Like 1
  • Agree 1
  • Thanks 1
Posted

HI, yes we can look at improving this. Thanks.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...