Baseflow / Baseflow/flutter_cache_manager

FirebaseCacheManager uses DownloadUrl which has a token in the url defeating cache

オープン
#486 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。