mirror of
https://github.com/feeddeck/feeddeck.git
synced 2026-03-09 07:02:01 -05:00
[PR #67] [MERGED] [core] Add Custom Cache Manager #71
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/feeddeck/feeddeck/pull/67
Author: @ricoberger
Created: 11/5/2023
Status: ✅ Merged
Merged: 11/5/2023
Merged by: @ricoberger
Base:
main← Head:core-add-custom-cache-manager📝 Commits (1)
164ac41[core] Add Custom Cache Manager📊 Changes
4 files changed (+33 additions, -9 deletions)
View changed files
📝
app/lib/widgets/utils/cached_network_image.dart(+24 -4)📝
app/pubspec.lock(+1 -1)📝
app/pubspec.yaml(+1 -0)📝
app/run.sh(+7 -4)📄 Description
This commit adds a custom cache manager "CustomCacheManager" which is used in the "CachedNetworkImage" widget. The custom cache manager is required, so that we can adjust the stale periode of cached images. By default the package used 30 days as stale periode, but for our use case 7 days should be enough and we can reduce the storage used by the app.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.