Java on Chrome and SoSH

johnmd20

mad dog
Lifetime Member
SoSH Member
Dec 30, 2003
61,996
New York City
I'm having a weird thing going on with the Chrome browser and SoSH. When Java is turned on, loading the pages takes about 20 seconds. It's a brutal delay. When Java is turned off, I lose a ton of functions, but the page loads in less than one second. So it's obviously Java related. Further, when I use Mozilla, there is no trouble loading pages with Java. This is a Chrome issue, it appears.

Is there anything I'm doing wrong? This happens in two homes, both with Google mesh networks. However, when I'm in my office on my mifi, via Verizon, SoSH doesn't have the problem with Java when I'm using Chrome. I have no idea what it is and if anyone has any suggestions, I would welcome them.

Thanks.
 

Blacken

Robespierre in a Cape
SoSH Member
Jul 24, 2007
12,152
Are you talking about Java, or JavaScript? There's a difference.
 

AlNipper49

Huge Member
Dope
SoSH Member
Apr 3, 2001
44,851
Mtigawi
Sometimes the shitbag ads cause issues. The rest haven't been updated in atleast a few weeks so it would more likely be a local issue.
 

johnmd20

mad dog
Lifetime Member
SoSH Member
Dec 30, 2003
61,996
New York City
I'm just going to keep the Javascript off for now. The site is so fast, I can live without the drop down menus and Tweets. I tried to clear browsing history and cache and cookies and that didn't help. But when I block Javascript, it immediately turns blazing fast. Pages load faster than I can see.
 

johnmd20

mad dog
Lifetime Member
SoSH Member
Dec 30, 2003
61,996
New York City
With Javascript off, SoSH is literally blazing fast. I don't think I've surfed a faster webpage, except for maybe Google's homepage.
 

uncannymanny

Member
SoSH Member
Jan 12, 2007
9,078
JS on:

Screen Shot 2017-06-08 at 5.25.22 PM.png

no JS:

Screen Shot 2017-06-08 at 5.29.04 PM.png

YIKES.

(should note this is emulating a Nexus 5X, but the deltas wouldn't change too too much on desktop)
 

AlNipper49

Huge Member
Dope
SoSH Member
Apr 3, 2001
44,851
Mtigawi
With Javascript off, SoSH is literally blazing fast. I don't think I've surfed a faster webpage, except for maybe Google's homepage.
It's basically being served 100% from RAM now. It's ONLY the JavaScript in ads that can even kind of slow things down 99.99% of the time.

We're amoungst friends, if you need to turn off ads here that's fine. I basically added them years ago when I pulled the stat that something like 5000% of page views on the main page are from people not logged in. I figured we should have a way for them to chip in.
 

uncannymanny

Member
SoSH Member
Jan 12, 2007
9,078
Well, any js is going to slow rendering to some degree, even if async/defer'd. Serving from ram is only going to affect request latencies, which to be fair can be a huge chunk of time depending on locations, connection speed, etc. The browser still has to parse and execute when it's delivered (along with HTML, CSS). This happens on all our machines, not SOSH servers.

Here's a semi-technical breakdown of an http request:

https://w3c.github.io/navigation-timing/timestamp-diagram.svg

The yellow stuff is happening on Nip's side, the blue in your browser.

There are some nice things coming down the pipe though that will do a lot to alleviate this (service workers [fuck you safari], http2, etc), but yeah such is life. Open up chrome://tracing sometime and load a page, it's a wild ride.
 
Last edited:

johnmd20

mad dog
Lifetime Member
SoSH Member
Dec 30, 2003
61,996
New York City
It's basically being served 100% from RAM now. It's ONLY the JavaScript in ads that can even kind of slow things down 99.99% of the time.

We're amoungst friends, if you need to turn off ads here that's fine. I basically added them years ago when I pulled the stat that something like 5000% of page views on the main page are from people not logged in. I figured we should have a way for them to chip in.
Today is better, I'll turn on the script when it's working, I'm not a fan of ducking ads and sometimes like them, actually. I'm a fan of commerce. The ads aren't a problem, unless they cause the page to take 20 seconds to load. Then it's a problem.