[Site Update] Behind the scenes data-layer and caching improvements

post by habryka (habryka4) · 2019-08-07T00:49:29.721Z · LW · GW · 3 comments

We just pushed a major behind the scenes update we've been working on for a while. This was primarily about reducing technical debt and upgrading a bunch of our outdated dependencies, so you shouldn't see much happening on your side besides some small performance improvements and a general reduction in weird data-loading jankiness.

This was however a pretty big refactor for our codebase, making this a very high risk update. We've spent a lot of time testing things, but please let us know if you notice anything broken or weird in the next few days.

3 comments

Comments sorted by top scores.

comment by Dagon · 2019-08-07T22:25:59.547Z · LW(p) · GW(p)

Congrats on continuing to make improvements! Unfortunately, this one seems like a performance regression - it's taking a long time to expand comments when I click a green count on the /daily page, and the notifications list seemed to be slower as well. Loading post pages (I ctrl-click to open in new tab very often) has always been a bit slow (2-5 seconds) and seems worse now (I just timed one at 7 seconds).

Replies from: habryka4
comment by habryka (habryka4) · 2019-08-07T22:34:50.262Z · LW(p) · GW(p)

Huh, weird. I will look into it. Just to check, by the green comment thing do you mean the following interaction? (which takes less than a second for me as you can see)

http://www.giphy.com/gifs/hoy4FbckKeEWCAUk5r

Post-pages also take less than a second for me to load (initially, though there is some JS initialization afterwards), so that's also confusing:

http://www.giphy.com/gifs/lStCmWRImaotNqIFoo

Might be browser specific, or something else weird going on.

Replies from: Dagon
comment by Dagon · 2019-08-08T06:15:14.701Z · LW(p) · GW(p)

"something else weird" has my current vote. It's pretty snappy from my home machine, and was very slow from my work network. I'm going to assume it's their problem rather than yours until I see more evidence.