christiangenco/markdowntomla

Very, very long loading times.

Opened this issue · 8 comments

It takes a very long time to load these pages. Not really sure what is causing it, but I thought I'd put an issue up here so you know about it.

2016-08-04_14h48_47

Huh - there's a ton of javascript on the page, but it definitely shouldn't be taking 50 seconds.

Does it consistently take this long? Where are you geographically? Do you know your internet speed?

Definitely agree that there isn't anything that should be doing that. That was on Windows in Yorktown, VA, but it seems to be loading fine on Ubuntu at home. My speed really shouldn't have been an issue (15Mbps). I won't have access to my primary computer till I get back to school on Sunday so I'll be able to do some actual testing then...only difference is that that'll be on a 600Mbps pipe so I doubt I'll actually be getting any problems from there.

All that said...with it not being an issue at the moment, it could've been an odd occurrence. It was loading consistently at that speed.

It's sitting at 6ish seconds now (granted, on a very slow laptop).

Huh - weird. I think 6 seconds is a fair target for this being a web app. To make it faster would take, I think, porting it to a native app 😛

Oh definitely. Have you looked into using require.js to load the is asynchronously?

Js not is** On mobile, apologies.

I haven't. Would that effect the page load time? I'd think it would take the same amount of time to be functional, since there's no way around pushing code down the wire.

We're looking at it for one or two of @srct projects. May not actually help too much for you since the entire thing is JS powered. It just lets the page render before all the scripts are loaded.