{"id":76319,"library":"chenyahui-gin-cache","title":"Gin Cache","description":"A caching middleware for the Gin web framework that supports multiple storage backends.","status":"active","version":"1.10.0","language":"go","source_language":null,"source_url":"https://github.com/chenyahui/gin-cache","tags":["gin","cache","middleware","web"],"install":[{"cmd":"go get github.com/chenyahui/gin-cache","lang":"bash","label":"Install github.com/chenyahui/gin-cache"}],"dependencies":[],"imports":[{"symbol":"cache","correct":"github.com/chenyahui/gin-cache"}],"quickstart":{"code":"package main\n\nimport (\n\t\"github.com/gin-gonic/gin\"\n\t\"github.com/chenyahui/gin-cache\"\n\t\"github.com/chenyahui/gin-cache/persist\"\n)\n\nfunc main() {\n\tr := gin.Default()\n\tstore := persist.NewMemoryStore(60)\n\tr.GET(\"/hello\", cache.CacheByRequestURI(store, 10*time.Second), func(c *gin.Context) {\n\t\tc.String(200, \"Hello, World!\")\n\t})\n\tr.Run()\n}","lang":"go","description":"Caching a Gin route with in-memory store"},"warnings":[],"env_vars":null,"search_vec":"'backend':15 'cach':2,4,17 'framework':10 'gin':1,8,16 'middlewar':5,18 'multipl':13 'storag':14 'support':12 'web':9,19","created_at":"2026-06-17T19:27:43.901948+00:00","updated_at":"2026-06-17T19:27:43.901948+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/chenyahui/gin-cache","github":"https://github.com/chenyahui/gin-cache","docs":"https://pkg.go.dev/github.com/chenyahui/gin-cache#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["web-framework"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}