{"id":32280850,"url":"https://github.com/nuelsoft/http_get_cache","last_synced_at":"2026-02-23T14:34:02.408Z","repository":{"id":56832627,"uuid":"386645863","full_name":"nuelsoft/http_get_cache","owner":"nuelsoft","description":"A HTTP Get package that caches request and returns them when request fails","archived":false,"fork":false,"pushed_at":"2021-07-20T13:16:32.000Z","size":10,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-27T17:11:28.483Z","etag":null,"topics":["cache","flutter","http-cache"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nuelsoft.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-07-16T13:25:29.000Z","updated_at":"2024-04-05T08:02:48.000Z","dependencies_parsed_at":"2022-09-22T08:30:46.990Z","dependency_job_id":null,"html_url":"https://github.com/nuelsoft/http_get_cache","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nuelsoft/http_get_cache","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuelsoft%2Fhttp_get_cache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuelsoft%2Fhttp_get_cache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuelsoft%2Fhttp_get_cache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuelsoft%2Fhttp_get_cache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nuelsoft","download_url":"https://codeload.github.com/nuelsoft/http_get_cache/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuelsoft%2Fhttp_get_cache/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29745641,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T07:44:07.782Z","status":"ssl_error","status_checked_at":"2026-02-23T07:44:07.432Z","response_time":90,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","flutter","http-cache"],"created_at":"2025-10-23T00:50:11.408Z","updated_at":"2026-02-23T14:34:02.403Z","avatar_url":"https://github.com/nuelsoft.png","language":"Dart","readme":"# HTTP Get Cache\n\nA cache wrapper for http GET requests\nThis helps you achieve an \"offline mode\" for your flutter application.\n\n## Installation\nIn your pubspec.yaml add to your dependencies\n```console\nhttp_get_cache: \u003ccurrent_version\u003e\n```\n\n## Usage\nFirst, **Initialize** GetCache.\n```dart\nGetCache.initialize();\n```\n`blackList` is an optional param that lists the url paths you want to exclude in your cache\n```dart\nGetCach.initialize(blackList: [\"/v1/current\"]);\n```\n\nYou can then go ahead and use this as your http getter.\n\n```dart\nUri uri = Uri.https(\"url.com\", query: {\"name\": \"my_name\"});\nResponse response = await GetCache.instance.get(uri, headers: {\"token\": \"my_token\"})\n```\n\n## What Happens\nWhen the underlying get request fails, GetCache then returns a cached response for the corresponding request path.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuelsoft%2Fhttp_get_cache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnuelsoft%2Fhttp_get_cache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuelsoft%2Fhttp_get_cache/lists"}