Cache clearing logic seems to be working, good stuff nostr:npub13v47pg9dxjq96an8jfev9znhm0k7ntwtlh9y335paj9kyjsjpznqzzl3l8 . Damus should now use less space over time. Now if we could just get this pushed to the appstore ๐Ÿ˜…

Reply to this note

Please Login to reply.

Discussion

What in the cache gets cleared first. Is there any order?

Yes! Images seen in the timeline get cleared every day. Banners and profile pictures stick around a lot longer .

Does Damus already have that local db lmdb derivative that you were gonna improve slash optimize. Maybe missed cuz don't have iphone and just wondering

Yes we use nostrdb for our profile database and profile search. Notes are stored in there as well but queries donโ€™t hit the db yet (soon)

That sounds cool. Just being nosey on high level. Thanks ๐Ÿค™

Interesting

Yeah, we found aggressive cache clearing helped a lot with nos.social's performance.