athensresearch / athens

Athens is no longer maintainted. Athens was an open-source, collaborative knowledge graph, backed by YC W21
https://athensresearch.github.io/athens
Other
6.31k stars 397 forks source link

Speed up pages with many linked references #1309

Open jsmorabito opened 3 years ago

jsmorabito commented 3 years ago

Discussed in https://github.com/athensresearch/athens/discussions/890

Originally posted by **agentydragon** March 29, 2021 I'm playing with giving my database some structure. I currently put a `[[Hierarchy]]` block on all pages, with some parallel hierarchies for categorizing things. For example ``` Add search to [[Athens Research]] === * [[Hierarchy]]: * [[Task]] (it's a task) * [[Athens Research]] (within Athens Research) ``` Unfortunately having this block in every page makes opening the `Hierarchy` page quite slow. I suspect it might be because loading all the linked references takes time, and might not be super efficient. Would be nice if we could paginate them, or optimize the case.
sid597 commented 3 years ago

@juniusfree Do you have any comments regarding this?

juniusfree commented 3 years ago

@sid597 I checked this before. I don't know the solution yet. This is also an issue with node/block page (i.e. more blocks = slower).