Baseflow / Baseflow/flutter_cache_manager

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

Abierto
#486 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Dart
Estrellas
809
Forks
510
Merge medio
6 min
PR fusionados (30 d)
1

Descripción

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
dart, firebase
Área
mobile, performance
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.