christiangenco / markdowntomla

The source code generators for markdowntomla.com and markdowntoapa.com
Other
12 stars 4 forks source link

Very, very long loading times. #1

Open ocelotsloth opened 8 years ago

ocelotsloth commented 8 years ago

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

christiangenco commented 8 years ago

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?

ocelotsloth commented 8 years ago

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.

ocelotsloth commented 8 years ago

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

christiangenco commented 8 years ago

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 😛

ocelotsloth commented 8 years ago

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

ocelotsloth commented 8 years ago

Js not is\ On mobile, apologies.

christiangenco commented 8 years ago

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.

ocelotsloth commented 8 years ago

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.