bonfire-networks / bonfire-app

Bonfire - tend to your digital life in community. Customise and host your own online space and control your experience at the most granular level.
https://bonfirenetworks.org
GNU Affero General Public License v3.0
522 stars 37 forks source link

reduce amount of data passed down to components in @__context__ #865

Closed mayel closed 4 months ago

mayel commented 4 months ago

Could for example contain just the user/account IDs instead of a whole struct (which also contains assocs like Settings etc) and load the struct from cachex instead.

mayel commented 4 months ago

benchmarks show that using in-memory cache instead does not lead to a significant speedup...