Skip to content

Improvement/optimize ssr#42

Merged
hriday330 merged 4 commits intomainfrom
improvement/optimize-ssr
Nov 29, 2025
Merged

Improvement/optimize ssr#42
hriday330 merged 4 commits intomainfrom
improvement/optimize-ssr

Conversation

@hriday330
Copy link
Copy Markdown
Owner

@hriday330 hriday330 commented Nov 29, 2025

This PR adds SSR for both dataset and annotator page. This was a significant UX bottleneck (especially on the annotators page) where the user had to wait ~4s for labels to load, 7s for the first page of images to load because the initial fetches were done client side. In this PR

  • datasets, first page of images and labels are loaded server-side and hydrated by the underlying client components
  • Move from localStorage to server-side cookies for saving dataset user is currently viewing
  • cut TTFI by 80% on both pages

@hriday330 hriday330 self-assigned this Nov 29, 2025
@vercel
Copy link
Copy Markdown

vercel bot commented Nov 29, 2025

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

Project Deployment Preview Comments Updated (UTC)
dataset-explorer Ready Ready Preview Comment Nov 29, 2025 11:53am

@hriday330 hriday330 added the enhancement New feature or request label Nov 29, 2025
@hriday330 hriday330 linked an issue Nov 29, 2025 that may be closed by this pull request
@hriday330 hriday330 merged commit b364632 into main Nov 29, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Server Side Rendering for Dataset + Annotator Page

1 participant