3 ms·
The issue with doing them client side (other than the missed cache opportunity of using a server) is that it means you're having every user in the chat send a r
by elviswolcott 6y ago
The issue with doing them client side (other than the missed cache opportunity of using a server) is that it means you're having every user in the chat send a request to an arbitrary URL from their device. Also CORS makes this impossible 99% of the time.
- ekimekim 6y agoThe third approach, which Signal uses as a privacy preservation measure, is for the sender to generate the link preview on send. Of course, this then opens up abuse where the sender can arbitrarily control the "link preview" to say whatever they want.