3 ms·
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 bat
by swyx 6y 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/ https://www.swyx.io/clientside-webmentions/
- iFreilicht 6y agoNow 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-fast-only-if-you-make-it-so/ https://nicolas-hoizey.com/articles/2020/05/05/jamstack-is-f...
- swyx 6y agoi 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.
- iFreilicht 6y agoFor 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.