Baseflow / Baseflow/flutter_cache_manager

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

未关闭
#486 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Dart
星标
809
派生
510
平均合并
6 分钟
30 天内合并 PR
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?

贡献指南

打开贡献指南

调研方向

从 flutter_cache_manager_firebase/lib/src/firebase_http_file_service.dart 中引用的那一行开始,然后跟踪下载 URL 如何变成缓存键。检查更改 Firebase 访问令牌是否会创建单独的缓存条目;当缓存行为得到验证,并且报告的问题已通过涵盖相关情况得到解决时,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
dart, firebase
领域
mobile, performance
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。