{"id":15405711,"url":"https://github.com/zverok/faraday_naive_cache","last_synced_at":"2026-07-03T15:30:57.318Z","repository":{"id":136288697,"uuid":"49905000","full_name":"zverok/faraday_naive_cache","owner":"zverok","description":"Naive greedy cache for Faraday, (almost) no dependencies","archived":false,"fork":false,"pushed_at":"2016-01-18T21:03:40.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-21T15:47:24.938Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zverok.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-18T21:03:03.000Z","updated_at":"2016-01-18T21:03:41.000Z","dependencies_parsed_at":"2023-03-19T02:42:37.680Z","dependency_job_id":null,"html_url":"https://github.com/zverok/faraday_naive_cache","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zverok/faraday_naive_cache","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zverok%2Ffaraday_naive_cache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zverok%2Ffaraday_naive_cache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zverok%2Ffaraday_naive_cache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zverok%2Ffaraday_naive_cache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zverok","download_url":"https://codeload.github.com/zverok/faraday_naive_cache/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zverok%2Ffaraday_naive_cache/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35091826,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-03T02:00:05.635Z","response_time":110,"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":[],"created_at":"2024-10-01T16:18:22.213Z","updated_at":"2026-07-03T15:30:57.301Z","avatar_url":"https://github.com/zverok.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Naive cache middleware for Faraday\n\nVery naive. Such useful. Wow.\n\nUsage:\n\n```ruby\nrequire 'faraday'\nrequire 'faraday/naive_cache'\n\nconnection = Faraday.new 'http://example.com/api' do |conn|\n  conn.use Faraday::NaiveCache\n  conn.adapter Faraday.default_adapter\nend\n\nconn.get 'some_endpoint' # real query\n\n# and then...\nconn.get 'some_endpoint' # get file from disc, stored in tmp/cache\n```\n\n## TODO\n\n* Path settings;\n* Cache invalidation strategies;\n* Many other useful enchancements.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzverok%2Ffaraday_naive_cache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzverok%2Ffaraday_naive_cache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzverok%2Ffaraday_naive_cache/lists"}