Repository navigation
Commit 39fff5b
fix: add cache invalidation when toggling project bookmark
- Import invalidateCache and cacheKeys for Redis cache management
- Invalidate projects cache (cacheKeys.projects.all) when public_display is toggled
- Add revalidatePath for /services page to update both home and services pages
- Ensure bookmark changes immediately reflect on services page
This fixes the issue where unbookmarked projects still appeared on services page
due to Redis cache not being invalidated when bookmark state changed.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent ac79334 commit 39fff5b
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
| |||
300 | 302 | | |
301 | 303 | | |
302 | 304 | | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
303 | 309 | | |
| 310 | + | |
304 | 311 | | |
305 | 312 | | |
306 | 313 | | |
| |||
0 commit comments