{"id":13795894,"url":"https://github.com/jacobsvante/fastapi-caching","last_synced_at":"2025-03-24T07:31:06.061Z","repository":{"id":52283816,"uuid":"287927552","full_name":"jacobsvante/fastapi-caching","owner":"jacobsvante","description":"Cache library for FastAPI with tag based invalidation","archived":false,"fork":false,"pushed_at":"2022-08-08T11:23:06.000Z","size":25,"stargazers_count":18,"open_issues_count":4,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-13T00:02:56.845Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/jacobsvante.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":"2020-08-16T11:09:28.000Z","updated_at":"2023-09-10T13:32:24.000Z","dependencies_parsed_at":"2022-08-13T01:50:25.847Z","dependency_job_id":null,"html_url":"https://github.com/jacobsvante/fastapi-caching","commit_stats":null,"previous_names":["jmagnusson/fastapi-caching"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacobsvante%2Ffastapi-caching","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacobsvante%2Ffastapi-caching/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacobsvante%2Ffastapi-caching/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacobsvante%2Ffastapi-caching/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jacobsvante","download_url":"https://codeload.github.com/jacobsvante/fastapi-caching/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245227341,"owners_count":20580856,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-08-03T23:01:03.679Z","updated_at":"2025-03-24T07:31:05.709Z","avatar_url":"https://github.com/jacobsvante.png","language":"Python","readme":"# FastAPI-Caching\n\nCache library for FastAPI with tag based invalidation. Asynchronous only for the time being.\n\n## Features\n\n- Automatic response cache fetching using FastAPI dependencies\n- Fine-grained control over when to return and set the cache\n- Ability to invalidate cached objects based on a concept of associated tags. See [examples/redis_app](/examples/redis_app) for an example.\n\n## Installation\n\nWith in-memory support only:\n```bash\npip install fastapi-caching\n```\n\nNOTE: In-memory backend is only recommended when your app is only run as a single instance.\n\nWith redis support (through the [aioredis](https://aioredis.readthedocs.io/) library):\n```bash\npip install fastapi-caching[redis]\n```\n\n## Usage examples\n\nExamples on how to use [can be found here](/examples).\n\n\n## Limitations\n\n- Only supported within async contexts.\n\n## Changelog\n\n### v0.1.2, 2020-08-16\n\n- Feature: Support lazy setup of cache manager\n\n### v0.2.0, 2020-08-16\n\n- Breaking change: Revert to requiring `backend` to be passed to CacheManager\n- Feature: Support lazy configuration of the caching backend\n\n### v0.3.0, 2020-08-16\n\n- Feature: Add functionality to disable (and re-enable) caching.\n","funding_links":[],"categories":["Caching"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacobsvante%2Ffastapi-caching","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjacobsvante%2Ffastapi-caching","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacobsvante%2Ffastapi-caching/lists"}