Hacker News new | ask | show | jobs
by swyx 1933 days ago
tip for those considering this - i use clientside webmentions for this so that it doesnt add to my build times - and lazy load it so it doesnt drain visitor battery/data:

https://www.swyx.io/clientside-webmentions/

1 comments

Now that I saw it on your site, I'm absolutely considering it. I think server-side is the way to go, though, as explained by one of the webmentions on your post: https://nicolas-hoizey.com/articles/2020/05/05/jamstack-is-f...
i sleep fine at night with the amount of JS i ship on my personal site lol. i'm sympathetic to alex russell's perf complaints, but JS bulimia isn't healthy either.
For me it’s more about not overloading webmention.io with requests for every single visitor of your site. It seems more respectful to just re-build occasionally and thus cache the webmentions on your side. The performance is secondary to me, though it is an accessibility concern as well.