{"id":19152751,"url":"https://github.com/traefik/plugin-simplecache","last_synced_at":"2025-10-18T04:15:07.808Z","repository":{"id":41119269,"uuid":"277841785","full_name":"traefik/plugin-simplecache","owner":"traefik","description":"Simple cache plugin middleware caches responses on disk","archived":false,"fork":false,"pushed_at":"2022-10-05T08:38:02.000Z","size":38,"stargazers_count":43,"open_issues_count":6,"forks_count":10,"subscribers_count":15,"default_branch":"master","last_synced_at":"2024-06-19T00:33:16.617Z","etag":null,"topics":["traefik","traefik-plugin"],"latest_commit_sha":null,"homepage":"https://plugins.traefik.io/plugins/628c9ec2ffc0cd18356a97a2/log4-shell","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/traefik.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-07-07T14:39:21.000Z","updated_at":"2024-06-12T15:16:44.000Z","dependencies_parsed_at":"2022-08-27T00:01:25.319Z","dependency_job_id":null,"html_url":"https://github.com/traefik/plugin-simplecache","commit_stats":null,"previous_names":["containous/plugin-simplecache"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traefik%2Fplugin-simplecache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traefik%2Fplugin-simplecache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traefik%2Fplugin-simplecache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traefik%2Fplugin-simplecache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/traefik","download_url":"https://codeload.github.com/traefik/plugin-simplecache/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223801905,"owners_count":17205191,"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":["traefik","traefik-plugin"],"created_at":"2024-11-09T08:19:15.735Z","updated_at":"2025-10-18T04:15:02.748Z","avatar_url":"https://github.com/traefik.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Cache\n\nSimple cache plugin middleware caches responses on disk.\n\n## Configuration\n\nTo configure this plugin you should add its configuration to the Traefik dynamic configuration as explained [here](https://docs.traefik.io/getting-started/configuration-overview/#the-dynamic-configuration).\nThe following snippet shows how to configure this plugin with the File provider in TOML and YAML: \n\nStatic:\n\n```toml\n[experimental.plugins.cache]\n  modulename = \"github.com/traefik/plugin-simplecache\"\n  version = \"v0.2.1\"\n```\n\nDynamic:\n\n```toml\n[http.middlewares]\n  [http.middlewares.my-cache.plugin.cache]\n    path = \"/some/path/to/cache/dir\"\n```\n\n```yaml\nhttp:\n  middlewares:\n   my-cache:\n      plugin:\n        cache:\n          path: /some/path/to/cache/dir\n```\n\n### Options\n\n#### Path (`path`)\n\nThe base path that files will be created under. This must be a valid existing\nfilesystem path.\n\n#### Max Expiry (`maxExpiry`)\n\n*Default: 300*\n\nThe maximum number of seconds a response can be cached for. The \nactual cache time will always be lower or equal to this.\n\n#### Cleanup (`cleanup`)\n\n*Default: 600*\n\nThe number of seconds to wait between cache cleanup runs.\n\t\n#### Add Status Header (`addStatusHeader`)\n\n*Default: true*\n\nThis determines if the cache status header `Cache-Status` will be added to the\nresponse headers. This header can have the value `hit`, `miss` or `error`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftraefik%2Fplugin-simplecache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftraefik%2Fplugin-simplecache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftraefik%2Fplugin-simplecache/lists"}