{"id":36445876,"url":"https://github.com/gatewayd-io/gatewayd-plugin-cache","last_synced_at":"2026-01-11T22:43:47.134Z","repository":{"id":192304497,"uuid":"586101288","full_name":"gatewayd-io/gatewayd-plugin-cache","owner":"gatewayd-io","description":"GatewayD plugin for caching query results","archived":false,"fork":false,"pushed_at":"2025-08-07T15:53:05.000Z","size":404,"stargazers_count":10,"open_issues_count":16,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-07T18:16:50.430Z","etag":null,"topics":["caching","gatewayd","in-memory-caching","plugin","postgres","postgresql","redis"],"latest_commit_sha":null,"homepage":"https://docs.gatewayd.io/plugins/gatewayd-plugin-cache","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gatewayd-io.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-01-07T00:18:56.000Z","updated_at":"2025-08-07T15:51:59.000Z","dependencies_parsed_at":"2023-09-04T03:45:41.415Z","dependency_job_id":"ffc924ca-a93d-4697-88db-6c1f90c72049","html_url":"https://github.com/gatewayd-io/gatewayd-plugin-cache","commit_stats":null,"previous_names":["gatewayd-io/gatewayd-plugin-cache"],"tags_count":49,"template":false,"template_full_name":null,"purl":"pkg:github/gatewayd-io/gatewayd-plugin-cache","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gatewayd-io%2Fgatewayd-plugin-cache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gatewayd-io%2Fgatewayd-plugin-cache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gatewayd-io%2Fgatewayd-plugin-cache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gatewayd-io%2Fgatewayd-plugin-cache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gatewayd-io","download_url":"https://codeload.github.com/gatewayd-io/gatewayd-plugin-cache/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gatewayd-io%2Fgatewayd-plugin-cache/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28326144,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T22:11:01.104Z","status":"ssl_error","status_checked_at":"2026-01-11T22:10:58.990Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["caching","gatewayd","in-memory-caching","plugin","postgres","postgresql","redis"],"created_at":"2026-01-11T22:43:46.576Z","updated_at":"2026-01-11T22:43:47.126Z","avatar_url":"https://github.com/gatewayd-io.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://docs.gatewayd.io/plugins/gatewayd-plugin-cache\"\u003e\n    \u003cpicture\u003e\n      \u003cimg alt=\"gatewayd-plugin-cache-logo\" src=\"https://github.com/gatewayd-io/gatewayd-plugin-cache/blob/main/assets/gatewayd-plugin-cache-logo.png\" width=\"96\" /\u003e\n    \u003c/picture\u003e\n  \u003c/a\u003e\n  \u003ch3 align=\"center\"\u003egatewayd-plugin-cache\u003c/h3\u003e\n  \u003cp align=\"center\"\u003eGatewayD plugin for caching query results.\u003c/p\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/gatewayd-io/gatewayd-plugin-cache/releases\"\u003eDownload\u003c/a\u003e ·\n    \u003ca href=\"https://docs.gatewayd.io/plugins/gatewayd-plugin-cache\"\u003eDocumentation\u003c/a\u003e\n\u003c/p\u003e\n\n## Features\n\n- Basic caching of database responses to client queries\n- Invalidate cached responses by parsing incoming queries (table-based):\n  - **DML**: INSERT, UPDATE and DELETE\n  - **Multi-statements**: UNION, INTERSECT and EXCEPT\n  - **DDL**: TRUNCATE, DROP and ALTER\n  - **WITH clause**\n  - **Multiple queries** (delimited by semicolon)\n- Periodic cache invalidation for invalidating stale client keys\n- Support for setting expiry time on cached data\n- Support for caching responses from multiple databases on multiple servers\n- Detect client's chosen database from the client's startup message\n- Skip caching date-time related functions\n- Prometheus metrics for quantifying cache hits, misses, gets, sets, deletes and scans\n- Prometheus metrics for counting total RPC method calls\n- Logging\n- Configurable via environment variables\n\n## Build for testing\n\nTo build the plugin for development and testing, run the following command:\n\n```bash\nmake build-dev\n```\n\nRunning the above command causes the `go mod tidy` and `go build` to run for compiling and generating the plugin binary in the current directory, named `gatewayd-plugin-cache`.\n\n## Sentry\n\nThis plugin uses [Sentry](https://sentry.io) for error tracking. Sentry can be configured using the `SENTRY_DSN` environment variable. If `SENTRY_DSN` is not set, Sentry will not be used.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgatewayd-io%2Fgatewayd-plugin-cache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgatewayd-io%2Fgatewayd-plugin-cache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgatewayd-io%2Fgatewayd-plugin-cache/lists"}