Fix stale featured event on homepage: revalidate cache when featured event changes #11

Merged
Michilis merged 1 commits from dev into main 2026-02-16 22:44:20 +00:00

1 Commits

Author SHA1 Message Date
Michilis
4aaffe99c7 Fix stale featured event on homepage: revalidate cache when featured event changes
- Extract revalidateFrontendCache() to backend/src/lib/revalidate.ts
- Call revalidation from site-settings when featuredEventId is set/cleared
- Ensures homepage shows updated featured event after admin changes

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-16 22:42:55 +00:00