{"id":65208,"library":"allegro-bigcache-v2","title":"BigCache v2","description":"Fast, concurrent, in-memory cache for large numbers of entries.","status":"active","version":"2.2.5","language":"go","source_language":null,"source_url":"https://github.com/allegro/bigcache","tags":["cache","in-memory","concurrent","high-performance"],"install":[{"cmd":"go get github.com/allegro/bigcache/v2","lang":"bash","label":"Install github.com/allegro/bigcache/v2"}],"dependencies":[],"imports":[{"symbol":"bigcache","correct":"github.com/allegro/bigcache/v2"}],"quickstart":{"code":"package main\n\nimport (\n    \"fmt\"\n    \"github.com/allegro/bigcache/v2\"\n)\n\nfunc main() {\n    cache, _ := bigcache.NewBigCache(bigcache.DefaultConfig(10 * time.Minute))\n    cache.Set(\"key\", []byte(\"value\"))\n    entry, _ := cache.Get(\"key\")\n    fmt.Println(string(entry))\n}","lang":"go","description":"Create a BigCache instance, set a key-value pair, and retrieve it."},"warnings":[{"fix":"Adjust CleanWindow and MaxEntrySize in config to match your use case.","message":"DefaultConfig uses a 10-minute default life window; entries may be evicted sooner if the cache is full.","severity":"gotcha","affected_versions":">=2.0.0"}],"env_vars":null,"search_vec":"'bigcach':1 'cach':8,14 'concurr':4,18 'entri':13 'fast':3 'high':20 'high-perform':19 'in-memori':5,15 'larg':10 'memori':7,17 'number':11 'perform':21 'v2':2","created_at":"2026-06-17T17:07:16.955686+00:00","updated_at":"2026-06-17T17:07:16.955686+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/allegro/bigcache","github":"https://github.com/allegro/bigcache","docs":"https://pkg.go.dev/github.com/allegro/bigcache/v2#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"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}}