Auto Extend the cached file's longevity if the user views it before it expired.
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
調査の方向性
ファイル、テスト、エントリポイントは特定されていません。まずリポジトリ内でキャッシュの有効期限切れと削除の経路を見つけ、次にオプションのAPIと更新のセマンティクスを明確にします。閲覧されたファイルは有効期間が更新され、閲覧されていないファイルは期限切れ後に削除され、両方の動作をテストでカバーできれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Auto Extend Longevity (Maybe Boolean)
an option to auto-extend the cached file's expiration date or longevity.
Contextualize the feature
It would be great, since, for example, like my application, I want to extend the longevity of a cached file every time a user views it. So, that it wouldn't cost me a lot with database: Bandwidth.
Describe the feature
Maybe add an option to enable the auto-extend longevity option, so that every time a user views a file its longevity time is extended. For example, I've set my file's longevity to 3 days. If the user views this file on day 2, a day before expiration, the expiration date will be extended by 2 days. Now the file would expire 3 days after the user viewed it. It would continue extending the expiration date and longevity unless a user hasn't viewed this file for 3 consecutive days.
This would help greatly if the application we're implementing it in is a social media type or e-commerce. We can cache the images and auto-extend their expiration date every time a user views them. But please make sure that the file is removed after the expiration date is over.
- 主要言語
- Dart
- スター
- 814
- フォーク
- 513
- 平均マージ
- 7時間 34分
- マージ済み PR(30日)
- 2
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Baseflow/flutter_cache_manager のほかの issue
-
JsonCacheInfoRepository: FormatException: Unexpected end of input (at character 1) ^対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Baseflow/flutter_cache_manager#450 · コメント 9 件 · リアクション 8 件 ·
-
existsSync in CacheStore._removeCachedFile blocks the main isolate (ANR on Android)対応中かも @yamashita-room-335 が 46 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 22/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 48/100
Baseflow/flutter_cache_manager#507 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 30/100
Baseflow/flutter_cache_manager#501 · コメント 1 件 · リアクション 3 件 ·
Baseflow/flutter_cache_manager の issue をすべて見る
似ている issue
-
BUG: App crashes on iOS when initializing speech-to-text due to missing microphone and speech recognition keys in Info.plist対応中かも @AyushSrivastava1818 が今日担当しました。 オープンbug enhancement
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
AOSSIE-Org/Ell-ena#365 · コメント 2 件 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
spotiflacapp/SpotiFLAC-Mobile#995 ·
-
feature
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
VeryGoodOpenSource/vgv-ai-flutter-plugin#219 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
cucumber/gherkin#766 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
Anxcye/anx-reader#1024 ·