Intermittent JavaScript Problems
One of the things that's been very bothersome on the Sift since our move to the Varo CMS platform has been the "JavaScript lag" that delays your interaction with the page for a few seconds after you already see everything waiting for you to touch it.
The sole blame for this lies with SiftBot. I'm just kidding Sifty! Please don't strike me down with great vengeance and furious anger or lay your vengeance upon me!
In reality, it's the result of terribly poor design on my part. I've already started making some changes that will seriously speed up (and hopefully get rid of it altogether) that lag.
The fixes are coming in stages. While a new change is being implemented there might be a thing or two that seems not to work on the page. Not to worry. If you simply do a hard reload (hold ctrl+shift and reload) you should be on your way in a matter of minutes.
So you can see how great it's going to be, do a hard reload now, view the front page, and notice that all the video thumbnail "show video" links appear immediately. (Before this fix, they would only appear after the load delay.)
The sole blame for this lies with SiftBot. I'm just kidding Sifty! Please don't strike me down with great vengeance and furious anger or lay your vengeance upon me!
In reality, it's the result of terribly poor design on my part. I've already started making some changes that will seriously speed up (and hopefully get rid of it altogether) that lag.
The fixes are coming in stages. While a new change is being implemented there might be a thing or two that seems not to work on the page. Not to worry. If you simply do a hard reload (hold ctrl+shift and reload) you should be on your way in a matter of minutes.
So you can see how great it's going to be, do a hard reload now, view the front page, and notice that all the video thumbnail "show video" links appear immediately. (Before this fix, they would only appear after the load delay.)
12 Comments
Just ctrl-reload innit?
In my experience, some browsers use shift+reload. Since it doesn't hurt to add ctrl where shift is required and vice versa, I always just suggest using both.
I like to hit ctrl+shift+spacebar+caplock+tab+g,k,f,s,t,e, and l. It's usually about that time that a global satellite plummets to earth and I get a call from NASA.
Reboot your computer? [grin]
Hmm... I've modified most JavaScript and found that the remaining lag (which is about as long as it's always been) is from the library that goes through the page making all the pointy corners round.
Maybe we should do away with curvy corners altogether... Hmm...
I'll just keep this post around a little longer before discarding in case anyone has a JavaScript hiccup and wants to know why.
Get rid of the curvy corners then! We don't need prettiness.
Lucky, you can see a discussion here about the process heavy script.js file started by dgandhi. Damn you JS + CSS!!!
When I click "comments" it takes me to a new page instead of opening up that drop box. It makes me so angry that I got married just so I could divorce my wife last hour.
Comment voting on in-line expanded comments causes page to reload.
Fixed comment popping up on Sift Talk and blog posts.
Fixed comment voting in pop-up comment window.
For the time being, we have turned off our curvy corners. This may stay this way until we find an acceptable alternative. Please let us know how your page loads have changed or if they haven't. For me, the change is immediate and unbelievable. Virtually no delay after page load any more. (Cue Homer drool here.)
Oh goddamnit, Lucky! I told you not to turn off those curvy corners! Now look what you did - Britney Spears' sister is pregnant and the forecast shows rain tomorrow!
@lucky: when I push all three, nothing happens (Firefox).
Thanks for all the Mr. Fixit stuff! But mmm, curvy corners....
Discuss...
Enable JavaScript to submit a comment.