flutter_cache_manager
flutter_cache_manager copied to clipboard
Generic cache manager for flutter
## 🏗 Enhancement Proposal & Pitch Currently, `file_system`'s web implementation uses `MemoryFileSystem`. Migrating it to use IndexedDB would enable true web caching and make the implementation native. ### Platforms affected...
## 🐛 Bug Report Call the DefaultCacheManager().emptyCache() method to report an error err:DatabaseException(attempt to write a readonly database - SQLITE_READONLY_DBMOVED (Sqlite code 1032), (OS error - 2:No such file or...
## 🐛 Bug Report Stacktrace: ``` DatabaseException(Error Domain=FMDatabase Code=6922 "disk I/O error" UserInfo={NSLocalizedDescription=disk I/O error}) sql 'DELETE FROM cacheObject WHERE _id IN ()' args []}. Error thrown null. Non-fatal Exception:...
Sample API Endpoint - https://gorest.co.in/public/v1/posts can somebody explain me to how to cache the list of JSON data that comes through from Rest API? something like the above endpoint. Please,...
## 🚀 Feature Requests I need a way to synchronously know if a given key is present in the cache. ### Contextualize the feature In our app, we use the...
### :sparkles: What kind of change does this PR introduce? Feature ### :arrow_heading_down: What is the current behavior? No way of knowing if a key is in the memory cache....
## 🏗 Enhancement Proposal Currently `flutter_cache_manager` is platform-independent, yet according to pub.dev, the package doesn't support web. This can be solved using conditionally importing `dart:io` dependent libraries. `path_provider`, `file` and...
image_cache_manager.dart line 89: var resizeFactor = max(resizeFactorHeight, resizeFactorWidth); Get the maximum compression ratio here, which will make the picture very blurry. eg: rawImage size: 300 x 1000 display size: 50...
## 🚀 Feature Requests A retry mechanism for when the initial download of a file over the network fails. This could be analogous to the fetch strategy implementation in the...
Web Support
Please add support for Flutter web. If saving infos needs be done, maybe the localStorage in webbrowsers can help.