Baseflow / Baseflow/flutter_cache_manager

Cache hit/miss metrics

Open
#189 2 comments 0 reactions 0 assignees View on GitHub
type: enhancement
Dominant language
Dart
Stars
809
Forks
510
Avg merge
6m
Merged PRs (30d)
1

Description

## 🏗 Enhancement Proposal

Have cache manager keep a count of cache hit/misses during use.

### Pitch

Something that popped into my head while testing for #179, it would be useful for the cache manager to store cache hit/miss counts. This would allow app developers to better understand how the cache is performing, and adjust usage to improve cache hit rates.

### Platforms affected (mark all that apply)
- [x] :iphone: iOS
- [x] :robot: Android

Contributor guide

Open the contributing guide

Research direction

Start by tracing the cache manager's cache lookup and storage paths in the repository, since the issue names no files or tests. Determine where hit and miss events occur and how counts should be exposed for iOS and Android use; done means cache hit/miss counts are maintained during use and covered by the relevant tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.