Thread

Zero-JS Hypermedia Browser

Relays: 5
Replies: 2
Generated: 16:07:31
Just throwing something out there, maybe there are multiple valid ways to cache events. I think kind 1's have a lower priority to be cached, as they have a pretty short half life but kind 0 and other events could have different options like refreshing on a timed schedule, or even request at viewing. Like you keep the same kind0 until you want to view the user's profile, so you'll fetch again for the profile view.
2025-12-03 17:32:26 from 1 relay(s) ↑ Parent 2 replies ↓
Login to reply

Replies (2)

Yeah, that is definitely true. I am currently reorganizing our cache for the 100,000 WoT score events the app needs to download to make each lifecycle kind-based if root and attached to other events if not a root kind, like comments, reactions, etc. so, when the cache removes the root event, all the others get deleted, including the WOT events in memory. Then it's all about getting the same thing in disk
2025-12-03 18:34:05 from 1 relay(s) ↑ Parent Reply