Justin Hunter
@polluterofminds
I've just signed the pledge to Stop SSR! Join the movement for faster, client-rendered websites at https://www.stopssr.com
3 replies
7 recasts
28 reactions
Haole
@haole
hmm how do you set the metadata for dynamic pages without ssr?
2 replies
0 recast
1 reaction
Andrei O.
@andrei0x309
You can set it with JS, if the crawler is JS enabled it will pick the data, most search engines pick metadata that's set on the client. But there are many that just download the page without having a JS engine enabled in that case metadata sent from the server is required. In a world where all crawlers would be JS enabled SSR for metadata would not be necessary.
1 reply
0 recast
2 reactions
Haole
@haole
that's a bad idea i think. I have a crawlers to parse the mini app metadata, I don't want to execute JS. Many clients like slack don't want to do that.
1 reply
0 recast
1 reaction
Andrei O.
@andrei0x309
People don't want to execute JS because it's costly, so 100/100, there are many services that will do the minimum. But there are JS executing crawlers outside of search engines, prerender is pretty popular, so you're 3 code lines away from being able to parse pages that do DOM changes with JS, but again the issue is always cost. I am sure that there are also a few preview crawlers outside of Slack that do JS-enabled crawl, in terms of cost probably 1 JS crawl costs more than 100 page downloads for sure. It is a bad idea for Slack OG or Farcaster but not so much for OGs+Metadata on Bing/Google/Yandex when you absolutely need to cut SSR costs.
0 reply
0 recast
1 reaction