Skip to content

Feat/icons#13

Merged
pphatdev merged 4 commits intolatestfrom
feat/icons
Mar 6, 2026
Merged

Feat/icons#13
pphatdev merged 4 commits intolatestfrom
feat/icons

Conversation

@pphatdev
Copy link
Copy Markdown
Owner

@pphatdev pphatdev commented Mar 6, 2026

This pull request updates the cache time-to-live (TTL) strategies in badge-cache-manager.ts to make certain badge data refresh more frequently. The TTLs for several frequently changing user and repository metrics have been reduced from 30 minutes or 2 hours down to 10 minutes. This will ensure that badges display fresher data for these metrics.

Cache TTL adjustments for fresher badge data:

  • Reduced TTL for FOLLOWERS and TOTAL_COMMITS badges from 30 minutes to 10 minutes to provide more up-to-date user statistics.
  • Reduced TTL for REPO_STARS, REPO_FORKS, and REPO_WATCHERS badges from 30 minutes or 2 hours to 10 minutes, ensuring repository metrics are updated more frequently.

@pphatdev pphatdev merged commit 7d2584d into latest Mar 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant