You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
perf: add CDN Cache-Control headers to streak API route (JhaSourav07#267)
## Description
FixesJhaSourav07#69
Added CDN Cache-Control headers to the streak API route:
- Replaced dynamic s-maxage with fixed `s-maxage=14400` (4 hours)
- Added `stale-while-revalidate=86400` (24 hours)
- Updated error responses (500) to use `public, s-maxage=60`
## Pillar
🛠️ Other (Bug fix, refactoring, docs)
## Checklist
- [x] I have read the CONTRIBUTING.md file.
- [x] My commits follow the Conventional Commits format.
- [x] I have made sure that I have only one commit to merge in this PR.
0 commit comments