Skip to content

perf: use getBlogPost(id) directly in blog detail page#68

Open
metrue wants to merge 1 commit intomainfrom
fix/blog-detail-perf
Open

perf: use getBlogPost(id) directly in blog detail page#68
metrue wants to merge 1 commit intomainfrom
fix/blog-detail-perf

Conversation

@metrue
Copy link
Copy Markdown
Owner

@metrue metrue commented Mar 21, 2026

Fixes N+1 API calls: previously fetched ALL posts then did .find(). Now calls getBlogPost(id) directly.

@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cofe Ready Ready Preview, Comment Mar 21, 2026 3:50pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant