Skip to content

Server-side rendering (SSR) hydration for claim pages #292

Description

@kilodesodiq-arch

Problem Statement. Today's Next.js app serves CSR-only? Unclear from next.config.ts.
Server rendering improves first-contentful paint on weak mobile networks (humanitarian
field).

Technical Context.
app/frontend/next.config.ts.

Expected Outcome. Pages backed by /api/v1/claims are SSR-enabled behind a Cache-Control
header. Cache-Control header currently applied to backend list endpoints via #32.

Acceptance Criteria.

  • E2E test asserts first contentful paint < 1 s on a 3G throttled profile in Playwright.

Files or modules likely to be affected.
app/frontend/src/app/[locale]/..._tsx,
next.config.ts.

Dependencies. #32.

Difficulty. Medium
Estimated effort. M



Backlog item #84 from `docs/maintainer-issue-backlog.md.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions