Baseflow / Baseflow/flutter_cache_manager

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

Open
#486 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
809
Forks
510
Avg merge
6m
Merged PRs (30d)
1

Description

[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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.