CHRISTOPANANJICKAL / fast_cached_network_image

A flutter package to cache network image fastly without native dependencies.
MIT License
29 stars 35 forks source link

Add Cache Storage Size Limit #58

Open nathnaeld opened 3 months ago

nathnaeld commented 3 months ago

Feature Request: Please add a configurable cache storage size limit. This feature would allow to set a maximum cache size, preventing excessive storage usage.

Use Case: In apps displaying many images, the cache can grow too large, consuming too much storage. A size limit would help manage storage more effectively.

Proposed Implementation:

escamoteur commented 3 months ago

IMHO it should have two options max-images and max-size. which ever is reached first should trigger deletion of the the oldest entries