Home

Link Preview Manifest: A Proposal for the Fediverse

$$9788
https://lemmy.world/u/yoasif posted on Mar 10, 2026 01:00

Starting in Firefox version 142, Mozilla released a “Link Previews” feature.

While the feature is problematic, commenters post pointed out that some previews are helpful – e.g. on Wikipedia, where a preview will appear when people hover over a wiki-linked page.

Other commenters pondered about some minimal way to replicate this elsewhere, and it seemed to be worth investigation. Read on as I propose an enhancement to the Fediverse (and maybe even web standards) to make Link Previews great: the Link Preview Manifest.

https://lemmy.world/post/44055958
Reply
$$9873
https://piefed.social/u/rimu posted on Mar 10, 2026 04:48
In reply to: https://lemmy.world/post/44055958

This will just lead to more requests being made.

Also anonymous requests, like those done by Mastodon to generate previews should be cached at the CDN or web server level, making them inexpensive to serve.

https://piefed.social/comment/10465370
Reply
$$9905
https://social.coop/users/django posted on Mar 10, 2026 05:38
In reply to: https://lemmy.world/post/44055958

@yoasif interesting proposal, I have been thinking about Link Previews for clients, a typical concern there is CORS. But I didn’t see anything addressing that in the proposal.

https://social.coop/users/django/statuses/116203265399948472
Reply
$$9923
https://lemmy.world/u/yoasif posted on Mar 10, 2026 06:22
In reply to: https://piefed.social/comment/10465370

It really feels like you didn’t read my post. I specifically called out caching as a concern, and even if we see more requests, they will be cheap to serve.

https://lemmy.world/comment/22575528
Reply
$$9954
https://piefed.social/u/rimu posted on Mar 10, 2026 07:27
In reply to: https://lemmy.world/comment/22575528

I definitely did read it.

This idea is so bad that I’m not even going to bother elaborating.

https://piefed.social/comment/10466460
Reply
$$10069
https://piefed.zip/u/INeedMana posted on Mar 10, 2026 12:49
In reply to: https://lemmy.world/post/44055958

I think the previews should be federated along with the activity. The main issue described by itsfoss and the mastodon bug is not about previews themselves generating a lot of traffic but federated nature of fediverse multiplying the number of requests. If along with the post/toot/w-v the preview got sent out too, that might ease the load on the publishing host

https://piefed.zip/comment/4181219
Reply
$$10137
https://lemmy.world/u/yoasif posted on Mar 10, 2026 15:17
In reply to: https://piefed.social/comment/10466460

Okay - it would have been nice to learn where the proposal fails, but I understand that I can’t access your expertise for free. Take it easy!

https://lemmy.world/comment/22582209
Reply
$$10140
https://lemmy.world/u/yoasif posted on Mar 10, 2026 15:19
In reply to: https://piefed.zip/comment/4181219

One thing that I neglected to mention is that since the SRI hashes are calculated, previews can be cached by peers other than the originating host - since they are verifiable, anyone can pass them along and the client can verify the payload.

Not something I really fleshed out in discovery, but if there is interest, that might make it more production ready.

https://lemmy.world/comment/22582260
Reply
$$10263
https://piefed.social/u/rimu posted on Mar 10, 2026 20:43
In reply to: https://lemmy.world/comment/22582209

Man, I am a cranky bastard sometimes. Shouldn’t post when I’m tired.

How about - the origin server, the place where the post was originally created, gets all the metadata (og:image, og:title, etc) and includes that in the Activity that tells other instances about the post? That way there is only one request made to the link and receiving instances can use that to make their preview?

It does mean that receiving instances will need to trust the sender so there’s potential for some misrepresentation but that seems acceptable to me.

https://piefed.social/comment/10475174
Reply