Baseflow / Baseflow/flutter_cache_manager
FirebaseCacheManager uses DownloadUrl which has a token in the url defeating cache
- 主要言語
- Dart
- スター
- 809
- フォーク
- 510
- 平均マージ
- 6分
- マージ済み PR(30日)
- 1
説明
[FirebaseCacheManager](https://github.com/Baseflow/flutter_cache_manager/blob/develop/flutter_cache_manager_firebase/lib/src/firebase_http_file_service.dart#L36) uses the `ref.getDownloadUrl()` which typically returns a url with a dynamic access token in the query string of the URL. Doesn't that mostly defeat the purpose of the cache, assuming that the key of the file in the cache is tho whole url including the token?
コントリビューションガイド
調査の方向性
Start in flutter_cache_manager_firebase/lib/src/firebase_http_file_service.dart at the referenced line, then trace how the download URL becomes the cache key. Check whether changing Firebase access tokens creates separate cached entries; done means the cache behavior is verified and the reported concern is resolved with coverage for the relevant case.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- dart, firebase
- 領域
- mobile, performance
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100