Baseflow / Baseflow/flutter_cache_manager

file is downloaded by eTag condition but not updated in cache

オープン
#250 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Dart
スター
809
フォーク
510
平均マージ
6分
マージ済み PR(30日)
1

説明

## 🐛 Bug Report

1. Load a file image with max-age = 5 second (there is overriden value of 0 seconds with 7 days - which is not good actually).
2. Replace file on server with new one
3. Reload image

Actual result:
it is visible that code 200 is coming from file download, file is actually downloaded, but memory cache not updated, old file is added to stream produced by getFileStream(url) method (the last one, the first one is from memory cache which is OK).
App restart helps to see new file (code 304 is reported by server, file is not actually downloaded).

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

エントリーポイントの getFileStream(url) から開始し、サーバーから 200 応答を受けた後にたどる経路を追跡します。ダウンロードしたファイルがメモリキャッシュをどのように更新するかを確認し、その後、サーバー上のファイルを置き換えてから再読み込みすると、アプリを再起動せずにストリームに新しいコンテンツが生成されることを検証します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
dart, flutter
領域
mobile
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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