What is Nostr?
brito
npub1hfg…7yfm
2024-09-04 16:25:40
in reply to nevent1q…ga4r

brito on Nostr: Building static paths to serve files (gifs on this case) is not a good path for ...

Building static paths to serve files (gifs on this case) is not a good path for decentralization. It would be better to store the sha256 of the file on the note and then query the relays if they have that hash on their disks.

This way you don't care which server the file is coming from, it might even be cached on the machine and notes will be future-proof like the rest of nostr.
Author Public Key
npub1hfg3tsmmp7g3u5cw6mzg0n9andehmgel6jug486eppsr0rqx4a3qlp7yfm