Graphite-Docs / graphite

Encrypted, secure, user-owned productivity suite
https://graphitedocs.com
GNU General Public License v3.0
583 stars 90 forks source link

Shoddy loading on shared documents #117

Closed CloverFeywilde closed 5 years ago

CloverFeywilde commented 5 years ago

A fairly consistent issue I'm seeing is that my shared documents simply aren't loading when people click the public link. Sometimes if I mash the page reload button a few times I can get the document loaded. But otherwise it's fairly unreliable. I've tried on mobile and on desktop and it's always a bit unreliable.

polluterofminds commented 5 years ago

Any chance you’ve got a public link I can test this with?

CloverFeywilde commented 5 years ago

https://app.graphitedocs.com/shared/docs/forleafe.id.blockstack-1542140230230

This document failed to load twice on someone else's computer. But on my own it managed to load after a few refreshes.

CloverFeywilde commented 5 years ago

https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fapp.graphitedocs.com%2Fshared%2Fdocs%2Fforleafe.id.blockstack-1542140230230 Here's a failed speed test as proof. failed

polluterofminds commented 5 years ago

Thanks! Probably going to need more details about what the common denominator is between your machine and the people you are sharing with. I just tested that link (in a private window for each browser to make sure nothing was previously cached) in the following browsers:

Brave: 3 seconds to load Chrome: 6 seconds to load Firefox: 6 seconds to load

Can you tell me what OS you're using and what browser you and anyone else you've shared it with might be using? Additionally, can you open the developer console and take a screenshot of any errors?

I'd also say the Google Page Speed insights tool is far from accurate. Using their own built-in browser tools gives you completely different results:

screen shot 2018-11-14 at 9 00 35 am

19.1 seconds on Google Page Speed Insights. 8 seconds in the developer tools. 6 seconds when I timed it myself.

If it's not loading at all for your and the people you shared with, then something else is going on that I want to help track down!

CloverFeywilde commented 5 years ago

One device was an android smartphone running Firefox Mobile. Another device was a linux desktop running firefox, another was a desktop running windows 7 and chrome.

I'm going to have to try those devices again and check the results of the desktop versions. But I just refreshed my android running firefox and the page loaded after about 6 seconds.

Again, it's kind of inconsistent. Up until this point I couldn't get it to load at all, but now on my phone it's loading after 6 seconds. There's no telling when it'll go back to not loading. But most definitely this is a false positive right now.

polluterofminds commented 5 years ago

When it doesn't load again, can you open the developer console and take a screenshot of anything in there? I want to make sure this works every time for you.

CloverFeywilde commented 5 years ago

Will do, I'll let you know as soon as it happens again.