Skip to content

feat(frontend): Implement SSR OG metadata caching with revalidation #51

Description

@Viky207

Problem

og-metadata.ts fetches on every SSR request.

Task

Cache OG metadata.

Acceptance Criteria

  • Cache in Redis with 60s TTL
  • Revalidation on payment-link.updated
  • Stale fallback if backend down
  • Cache key: og:{username}:{amount}:{asset}
  • Cache-Control: s-maxage=60, stale-while-revalidate
  • Vercel Edge Cache used

Activity

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

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions