Loading problem with safari

McLS

Active member
Never had this before, but since now one month, whenever I go on NS after the login page (so once i'm on the homepage) it loads for 1 or 2 mins (with the grey bar) and during that time none of the buttons (forums, photos...etc) are clickable. I've reinstalled safari, no change so I thought I'd tell you about it. It only happens on safari, firefox is fine.

peace

ps: just as I clicked to post this thread I got the "you do not have permission to post to this forum". I get this very often too whenever I post a thread and less often but still a few times when I just post in a thread. What's happening?????
 
We're doing a ton of backend work right now, there are bound to be alot of weird bugs. sit tight for the next month or two and *hopefully* everything will be ironed out. Thanks for understand man.
 
13454395:eheath said:
We're doing a ton of backend work right now, there are bound to be alot of weird bugs. sit tight for the next month or two and *hopefully* everything will be ironed out. Thanks for understand man.

Came to complain about some problem with comments (on safari) - this might explain it.

Regardless, I'll post it here b/c for whatever reason it's not loading in the Bug Reports thread:

>Go to comment on video

>Type comment

>Click button

>Comment box and button gray out, but nothing happens

>Comment box reopens for editing after some amount of seconds without loading my comment

>??????

>Do not profit, do not pass go, do not collect $200
 
13454395:eheath said:
We're doing a ton of backend work right now, there are bound to be alot of weird bugs. sit tight for the next month or two and *hopefully* everything will be ironed out. Thanks for understand man.

no problem, tbh the main reason I made the thread is to give you guys feedback to help things out. But for me at least this is bearable.
 
I get this same thing when using Chrome...

It's almost definitely the result of bad javascript. Turned on the dev tools profiler and script statements are taking more than 3 seconds (on newer mbp). Maybe theres some callout that's not getting run async or something. Or maybe there is just a bad loop thats blocking the UI.
 
Actually it looks like the issue is just the ridiculous # of stories you guys are loading on the "Metro" section.

The first call to "loadMetroMore()" in metro-beta.js is returning 703 articles!

Whats the point of lazy loading if your load more articles than anyone would every possible look at on first load?

Another issue is that if you start scrolling before the 'loadMetro()' function has had a chance to render anything, it will call 'loadMetro' again (every-time the scroll event fires).

You guys need to block additional calls to load metro. The simplest way to do this would be with a global flag that would be checked and set when before the callout and unset once the content is rendered. If this flag is set, don't call load metro anymore.
 
topic:McLS said:
Never had this before, but since now one month, whenever I go on NS after the login page (so once i'm on the homepage) it loads for 1 or 2 mins (with the grey bar) and during that time none of the buttons (forums, photos...etc) are clickable. I've reinstalled safari, no change so I thought I'd tell you about it. It only happens on safari, firefox is fine.

peace

ps: just as I clicked to post this thread I got the "you do not have permission to post to this forum". I get this very often too whenever I post a thread and less often but still a few times when I just post in a thread. What's happening?????

Do you happen to have the sub-nav on the homepage set to "TOP ALL TIME"?
 
13461993:iLLbiLLy said:
Actually it looks like the issue is just the ridiculous # of stories you guys are loading on the "Metro" section.

The first call to "loadMetroMore()" in metro-beta.js is returning 703 articles!

Whats the point of lazy loading if your load more articles than anyone would every possible look at on first load?

Another issue is that if you start scrolling before the 'loadMetro()' function has had a chance to render anything, it will call 'loadMetro' again (every-time the scroll event fires).

You guys need to block additional calls to load metro. The simplest way to do this would be with a global flag that would be checked and set when before the callout and unset once the content is rendered. If this flag is set, don't call load metro anymore.

There is one particular view that is problematic, yes, the "TOP ALL TIME" tab. I'll see if I can lower the threshold for how those articles are fetched, that's way too many for a single load. The load metro functions do have checks to only allow one simultaneous call at a time, but there is a second call to load the right column as you scroll as well. Each will only run one at a time.

The massive number of articles loaded in the TOP ALL TIME view bad, and a side effect of trying to merge content from multiple separate content pools. We're actually in the middle of some changes that will help immensely. They won't be read until later this summer.
 
13462014:nopoles said:
There is one particular view that is problematic, yes, the "TOP ALL TIME" tab. I'll see if I can lower the threshold for how those articles are fetched, that's way too many for a single load. The load metro functions do have checks to only allow one simultaneous call at a time, but there is a second call to load the right column as you scroll as well. Each will only run one at a time.

The massive number of articles loaded in the TOP ALL TIME view bad, and a side effect of trying to merge content from multiple separate content pools. We're actually in the middle of some changes that will help immensely. They won't be read until later this summer.

Oh interesting... I didn't even notice that you guys were storing the last visited tab and it was loading "top all" time every time i hit the home page. After switching back to the "hot" tab everything is snappy.

While I was debugging I thought I had a scenario where the metro fired again while it was still loading the initial call but I could be wrong.
 
13462011:nopoles said:
Do you happen to have the sub-nav on the homepage set to "TOP ALL TIME"?

Yes! it's always "top all time" by default for me. Does that have anything to do with it?
 
13462099:McLS said:
Yes! it's always "top all time" by default for me. Does that have anything to do with it?

The homepage remembers whatever tab you saw last. Click any other tab, the homepage will load fast, it's just that one tab that is messed up.

I'll deploy a patch tomorrow to fix it, but otherwise you can just pick any other tab.
 
13462248:nopoles said:
The homepage remembers whatever tab you saw last. Click any other tab, the homepage will load fast, it's just that one tab that is messed up.

I'll deploy a patch tomorrow to fix it, but otherwise you can just pick any other tab.

great thanks, Ill try that
 
I've just deployed a change to fix that slow loading tab. The homepage should load nice and fast now.
 
topic:McLS said:
Never had this before, but since now one month, whenever I go on NS after the login page (so once i'm on the homepage) it loads for 1 or 2 mins (with the grey bar) and during that time none of the buttons (forums, photos...etc) are clickable. I've reinstalled safari, no change so I thought I'd tell you about it. It only happens on safari, firefox is fine.

peace

ps: just as I clicked to post this thread I got the "you do not have permission to post to this forum". I get this very often too whenever I post a thread and less often but still a few times when I just post in a thread. What's happening?????

The loading problem should be fixed. Can you confirm?
 
13462464:iLLbiLLy said:
Much better. Loaded in under a second (vs 10ish before).

Yeah whoops. That was a bug that I had noticed yet not reported because I thought it was caused by needing the unified publishing list that Paul has been trying to convince me to dedicate the time to for 2 years.

Didn't realize the solution was simple. Sorry Paul. ;)
 
Back
Top