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

post by habryka (habryka4) · 2019-08-07T00:49:29.721Z · score: 25 (13 votes) · 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.


Comments sorted by top scores.

comment by Dagon · 2019-08-07T22:25:59.547Z · score: 5 (2 votes) · LW · GW

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).

comment by habryka (habryka4) · 2019-08-07T22:34:50.262Z · score: 2 (1 votes) · LW · GW

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)


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:


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

comment by Dagon · 2019-08-08T06:15:14.701Z · score: 6 (3 votes) · LW · GW

"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.