Extract admin dashboard from ghabilee-frontend2 into a dedicated Next.js app for backoffice.ghabilee.ir (no SEO indexing / Clarity).
11 lines
471 B
TypeScript
11 lines
471 B
TypeScript
/**
|
|
* Align client freshness with the public event landing ISR window (`revalidate = 60`
|
|
* on `app/events/[id]/page.tsx` and bootstrap `publicGet(..., 60)`).
|
|
*
|
|
* Event detail (keyed per viewer), media, faqs, organizer and reviews may lag
|
|
* ~1 minute; personalized viewer-state stays shorter so CTA/bookmark/follow
|
|
* feel current without refetching on every mount.
|
|
*/
|
|
export const eventPublicDetailStaleTime = 60_000
|
|
export const eventViewerStateStaleTime = 30_000
|