Cache size
- Lenguaje dominante
- Kotlin
- Estrellas
- 5.6k
- Forks
- 2k
- Merge medio
- 2 d 20 h
- PR fusionados (30 d)
- 105
Descripción
The current cache size is 10Mb which is way to small for any larger photo collection.
There is a PR (#144) which allows to manually resize the cache. I think this is not the best idea as the user has to do it manually, so this might be there as a fallback.
In https://github.com/nextcloud/android/issues/177#issuecomment-236945762 this was proposed:
- \>=40% of the internal storage available: set cache size to 5% of internal storage size of the device (cache is always in internal storage)
- < 40% of the internal storage available: set cache size to 10% of the remaining space available but at least 100MByte (which still gives you enough space for thumbnails and resized images)
Every time the apps starts the cache size will be checked and adjusted.
Guía de contribución
Línea de trabajo
Revisa primero el PR #144 y la propuesta de dimensionamiento de la caché vinculada desde el issue #177. Traza después la inicialización de la caché de la aplicación Android y las comprobaciones disponibles del almacenamiento interno; a continuación, verifica que el inicio aplique las reglas de porcentaje y mínimo indicadas sin requerir un redimensionamiento manual.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- android, kotlin
- Área
- mobile-dev
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 42/100