Baseflow / Baseflow/flutter_cache_manager
Auto Extend the cached file's longevity if the user views it before it expired.
- Linguagem predominante
- Dart
- Estrelas
- 810
- Forks
- 510
- Merge médio
- 30min
- PRs com merge (30d)
- 11
Descrição
## 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.
Guia de contribuição
Direção de pesquisa
Nenhum arquivo, teste ou ponto de entrada foi identificado. Comece localizando no repositório os caminhos de expiração e remoção do cache e, em seguida, defina a API e a semântica de renovação da opção. O trabalho estará concluído quando os arquivos visualizados renovarem seu tempo de vida, enquanto os arquivos não visualizados forem removidos após a expiração, com testes cobrindo ambos os comportamentos.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- dart, flutter
- Domínio
- mobile
- Tipo de issue
- Funcionalidade
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 35/100