feat(webapp): add SSR cross-links for tag and source pages#5685
feat(webapp): add SSR cross-links for tag and source pages#5685
Conversation
Expose related tag and top post links in server-rendered HTML so crawlers can discover tag and source-adjacent pages without relying on client-side fetches. Made-with: Cursor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
@claude please rview this pr |
|
Claude finished @nimrodkra's task in 1m 43s —— View job PR Review: feat(webapp): add SSR cross-links for tag and source pages
Overall: The approach is sound — prefetching cross-link data in Issues1. Heavy query used for source top posts [
|
Use a lightweight source top-posts query with popularity ranking, reuse shared top-post types across tag and source pages, move hidden crawl links out of the header, and relax source page ISR to hourly revalidation. Made-with: Cursor
Resolve PR 5685 merge conflicts by keeping both the main-branch source SEO/JSON-LD updates and the PR's SSR cross-linking/top-post prefetch changes. Made-with: Cursor
Replace stale TagTopPost reference with shared TopPost type so the webapp build passes after the cross-linking merge resolution. Made-with: Cursor
Summary
getStaticPropsWhy this matters
These SSR links create crawl paths that search engines can discover without relying on client-side rendering. That directly addresses orphaned tag/source surfaces and should improve indexation depth over time.
Test plan
pnpm --filter webapp lintpnpm --filter webapp build(fails locally due DNS lookup forapi.local.fylla.devduring prerender in this environment)Made with Cursor
Preview domain
https://seo-pr3-cross-linking.preview.app.daily.dev