{"id":32273830,"url":"https://github.com/luizgasparetto/flutter_auto_cache","last_synced_at":"2026-02-21T02:02:10.884Z","repository":{"id":198805066,"uuid":"693364189","full_name":"luizgasparetto/flutter_auto_cache","owner":"luizgasparetto","description":"🚀 Automated cache management with encryption, substitution/invalidation policies and efficient size handling.","archived":false,"fork":false,"pushed_at":"2024-10-27T23:35:48.000Z","size":1349,"stargazers_count":53,"open_issues_count":16,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-22T23:36:13.694Z","etag":null,"topics":["cache-control","cache-storage","dart","encryption","flutter","kvs-storage","packages","storage"],"latest_commit_sha":null,"homepage":"https://autocache.luizgasparetto.dev","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/luizgasparetto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"docs/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-18T22:12:52.000Z","updated_at":"2025-06-03T09:29:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"9acda9db-ccbb-4796-99c7-f80ef2c6d28f","html_url":"https://github.com/luizgasparetto/flutter_auto_cache","commit_stats":null,"previous_names":["luizgasparetto/auto_cache_manager","luizgasparetto/flutter_auto_cache"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/luizgasparetto/flutter_auto_cache","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luizgasparetto%2Fflutter_auto_cache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luizgasparetto%2Fflutter_auto_cache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luizgasparetto%2Fflutter_auto_cache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luizgasparetto%2Fflutter_auto_cache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luizgasparetto","download_url":"https://codeload.github.com/luizgasparetto/flutter_auto_cache/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luizgasparetto%2Fflutter_auto_cache/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29671513,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T00:11:43.526Z","status":"online","status_checked_at":"2026-02-21T02:00:07.432Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cache-control","cache-storage","dart","encryption","flutter","kvs-storage","packages","storage"],"created_at":"2025-10-22T23:27:11.912Z","updated_at":"2026-02-21T02:02:10.878Z","avatar_url":"https://github.com/luizgasparetto.png","language":"Dart","readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/luizgasparetto/flutter_auto_cache\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/luizgasparetto/flutter_auto_cache/main/docs/assets/logo.png\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\n\u003ch4 align=\"center\"\u003e\n  \u003ca href=\"https://github.com/luizgasparetto/flutter_auto_cache/actions/workflows/ci.yaml\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/actions/workflow/status/luizgasparetto/flutter_auto_cache/ci.yaml?branch=main\u0026label=pipeline\u0026style=flat-square\u0026color=blue\" alt=\"continuous integration\" style=\"height: 20px;\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/luizgasparetto/flutter_auto_cache/stargazers\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/stars/luizgasparetto/flutter_auto_cache?style=flat-square\" alt=\"start\" style=\"height: 20px;\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://opensource.org/license/bsd-3-clause\"\u003e\n  \u003cimg src=\"https://img.shields.io/github/license/luizgasparetto/flutter_auto_cache?style=flat-square\u0026color=blue\" alt=\"bsd-3-clause\" style: \"height: 20px;\"\u003e\n  \u003c/a\u003e\n  \u003cbr\u003e\n\u003c/h4\u003e\n\n\n## Introduction\n\n`Flutter Auto Cache` is a sophisticated, high-tech cache manager for Flutter, designed to optimize cache management in mobile applications. Enhances cache replacement policies, provides robust encryption methods, and ensures efficient disk space management. Leveraging `shared_preferences`, our platform delivers a comprehensive solution for cache data management.\n\nWith `Flutter Auto Cache`, you can seamlessly integrate advanced cache management features, allowing you to focus on your application’s core functionality while we handle the complexities of data caching. Our user-friendly interface and powerful capabilities make `Flutter Auto Cache` the go-to choice for Flutter developers aiming to achieve high performance and security in their applications.\n\nExperience unparalleled efficiency and reliability in cache management with `Flutter Auto Cache`.\n\n\n## Installation \n\nGetting started with `Flutter Auto Cache` is straightforward and can be accomplished in a few simple steps. You have the flexibility to add it to your project directly from pub.dev or install it locally, depending on your development preferences and workflow.\n\n\n### Adding via pub.dev\nTo add `Flutter Auto Cache` to your project, run the following command:\n\n```\nflutter pub add flutter_auto_cache\n```\n\n### Installing Locally\nIf you prefer to install `Flutter Auto Cache` locally, follow these steps:\n\n#### 1. Clone the FlutterAutoCache repository:\n\n```bash\ngit clone https://github.com/luizgasparetto/flutter_auto_cache.git\n```\n\n#### 2. Navigate to your project's `pubspec.yaml` file and add the following dependency:\n```yaml\ndependencies:\n  flutter_auto_cache:\n    path: ../path_to_flutter_auto_cache\n```\n\n#### 3. Install the dependency by running:\n```bash\nflutter pub get\n```\n\nOnce installed, you can start using `Flutter Auto Cache` in your Flutter project to enhance your application's cache management with advanced features, including encryption and efficient disk space management.\n\n## Usage\nTo use `Flutter Auto Cache`, you need to initialize the cache manager before calling `runApp`. This ensures that all cache configurations are set up correctly. You also have the option to pass your custom initialization configuration.\n\n```dart\nimport 'package:flutter_auto_cache/flutter_auto_cache.dart';\n\nFuture\u003cvoid\u003e main() async {\n  /// Optional: Pass a custom CacheConfiguration if needed\n  await AutoCacheInitializer.initialize(configuration: yourCustomConfiguration);\n\n  runApp(MyApp());\n}\n```\n\nAfter initialization, you can use the cache management methods directly from the `AutoCache` class. Here is an example of how to access the preferences cache manager:\n\n```dart\nawait AutoCache.data.getString(key: \"my_string_cached\");\n```\n\nWith this setup, you can easily manage your application's cache using the methods provided by `AutoCache`.\n\n\u003e **Note**\n\u003e Each property of the `CacheConfiguration` can have a different impact on how the cache behaves. It is important to understand these properties to optimize your application's performance and reliability.\n\n\n## Contributing\n\nThe majority of `Flutter Auto Cache` code is open-source. We are committed to a transparent development process and highly appreciate any contributions. Whether you are helping us fix bugs, proposing new features or improving our documentation.\n\n- **Bug Report:** If you see an error message or encounter an issue while using this package, please create a [bug report](https://github.com/luizgasparetto/flutter_auto_cache/issues/new?assignees=\u0026labels=type%3A+feature+request\u0026template=BUG-REPORT.yml).\n\n- **Feature Request:** If you have an idea or if there is a capability that is missing and would make development easier and more robust, please submit a [feature request](https://github.com/luizgasparetto/flutter_auto_cache/issues/new?assignees=\u0026labels=type%3A+feature+request\u0026template=SUGGESTION-REQUEST.yml).\n\n## License\n\n`Flutter Auto Cache` is licensed under the [BSD-3-Clause](./LICENSE). This license permits the redistribution and use of the software in source and binary forms, with or without modification, provided that the terms and conditions outlined in the license are met. By using `Flutter Auto Cache`, you agree to comply with these terms and conditions, which ensure the protection and proper use of the software.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluizgasparetto%2Fflutter_auto_cache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluizgasparetto%2Fflutter_auto_cache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluizgasparetto%2Fflutter_auto_cache/lists"}