Discussion about this post

User's avatar
PJ's avatar

Just FYI, the backlinks themselves aren't being recalculated: it's reading the surrounding text for each of the references and rendering those bits as HTML in the viewer that takes the time. Even though it doesn't put them all in the DOM at once, it does populate an infinite scroller for them. If you don't have literally thousands of backlinks for a single file, backlinks load pretty much instantaneously. (As can be seen in your video, backlinks already load at a rate of hundreds per second!)

So, additional caching wouldn't speed anything up in the more common case, where you might have *dozens* or maybe even hundreds of backlinks, but not literally thousands of them for each note. They load faster than you can scroll through them if you're actually reading any of the text.

Expand full comment
Bob's avatar

Wow!

Expand full comment
7 more comments...

No posts