Why Nostr? What is Njump?
2023-04-15 14:05:23
in reply to

ev on Nostr: > set up a server that acts as a proxy to generate and cache thumbnails. Good point. ...

> set up a server that acts as a proxy to generate and cache thumbnails.

Good point. Since Nostr doesn't have a distributed blob store (yet?), everyone is doing lots of unnecessary network calls to outside hosts to gather photos and avatars.

You could either create a server for the app where the crops are stored, then you could use that to measure your app engagement, or you could crop and cache a replacement photo locally on the device so that you aren't doing a network call every time a profile photo is loaded.

The second option would be more privacy preserving, but there is a balance here when you're running a startup since user metrics are important.
Author Public Key
npub13vnc4krt76jp3kafgtlsf75w6derqw43khjzs6mctaa9ehq8kfmsgxeddx