Skip to content

Implement separate base cache for unfiltered results - #83

Merged
ModelEarth merged 1 commit into
ModelEarth:mainfrom
shashank11yadav:main
Dec 14, 2025
Merged

ModelEarth merged 1 commit into
ModelEarth:mainfrom
shashank11yadav:main

Conversation

@shashank11yadav

Copy link
Copy Markdown
Contributor
  • Add isDefaultFilterState() to detect when no filters are applied
  • Use github_issues_base_cache for unfiltered results
  • Use github_issues_filtered_cache for filtered results
  • Preserve base cache when filters change, only clear filtered cache
  • Fallback to base cache when filtered cache doesn't exist
  • Update cache status display to show cache type (Base/Filtered)
  • Minimize API calls by retaining base data across filter changes
  • 10-minute expiration applies to both cache types independently

- Add isDefaultFilterState() to detect when no filters are applied
- Use github_issues_base_cache for unfiltered results
- Use github_issues_filtered_cache for filtered results
- Preserve base cache when filters change, only clear filtered cache
- Fallback to base cache when filtered cache doesn't exist
- Update cache status display to show cache type (Base/Filtered)
- Minimize API calls by retaining base data across filter changes
- 10-minute expiration applies to both cache types independently
@ModelEarth
ModelEarth merged commit 9d7be13 into ModelEarth:main Dec 14, 2025
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.

2 participants