[{"data":1,"prerenderedAt":353},["ShallowReactive",2],{"page-\u002Fprojects\u002Fdarvaza-cache":3,"categories":193,"go-packages":340},{"id":4,"title":5,"body":6,"category":179,"description":182,"extension":183,"go":5,"licence":184,"meta":185,"navigation":186,"npm":187,"path":188,"repo":189,"seo":190,"stem":191,"__hash__":192},"projects\u002Fprojects\u002Fdarvaza-cache.md","darvaza.org\u002Fcache",{"type":7,"value":8,"toc":173},"minimark",[9,60,65,153,157],[10,11,12,13,17,18,23,24,27,28,31,32,35,36,39,40,43,44,47,48,51,52,55,56,59],"p",{},"Generic cache abstraction keyed by any ",[14,15,16],"code",{},"comparable"," type. The\n",[19,20],"go-pkg",{"mod":5,":short":21,"sym":22},"true","Cache"," interface\nprovides ",[14,25,26],{},"Get",", ",[14,29,30],{},"Set",", and ",[14,33,34],{},"Remove"," with per-entry expiration. Data\nflows through a ",[14,37,38],{},"Sink"," abstraction — ",[14,41,42],{},"ByteSink"," for raw bytes,\n",[14,45,46],{},"GobSink[T]"," for Gob-encoded objects, or a custom ",[14,49,50],{},"SinkFn[T]"," built\nfrom user-supplied encode\u002Fdecode functions.\nA ",[19,53],{"mod":5,":short":21,"sym":54},"Store"," manages named\ncache namespaces with size limits and pluggable data loaders\n(",[14,57,58],{},"Getter[K]",").",[61,62,64],"h2",{"id":63},"backends","Backends",[66,67,68,84],"table",{},[69,70,71],"thead",{},[72,73,74,78,81],"tr",{},[75,76,77],"th",{},"Backend",[75,79,80],{},"Module",[75,82,83],{},"Description",[85,86,87,102,119,137],"tbody",{},[72,88,89,93,99],{},[90,91,92],"td",{},"simplelru",[90,94,95],{},[96,97],"badge-version-go",{"mod":98},"darvaza.org\u002Fcache\u002Fx\u002Fsimplelru",[90,100,101],{},"Non-thread-safe LRU with TTL; evicts expired entries first",[72,103,104,107,112],{},[90,105,106],{},"memcache",[90,108,109],{},[96,110],{"mod":111},"darvaza.org\u002Fcache\u002Fx\u002Fmemcache",[90,113,114,115,118],{},"Thread-safe in-memory cache with ",[14,116,117],{},"SingleFlight"," stampede prevention",[72,120,121,124,129],{},[90,122,123],{},"groupcache",[90,125,126],{},[96,127],{"mod":128},"darvaza.org\u002Fcache\u002Fx\u002Fgroupcache",[90,130,131,132,136],{},"Distributed caching via ",[19,133],{"mod":134,"label":135},"github.com\u002Fmailgun\u002Fgroupcache\u002Fv2","mailgun\u002Fgroupcache"," with HTTP peer discovery",[72,138,139,142,147],{},[90,140,141],{},"protosink",[90,143,144],{},[96,145],{"mod":146},"darvaza.org\u002Fcache\u002Fx\u002Fprotosink",[90,148,149,152],{},[14,150,151],{},"TSink[T]"," implementation using Protocol Buffers encoding",[61,154,156],{"id":155},"see-also","See also",[158,159,160,167],"ul",{},[161,162,163,164],"li",{},"DNS resolver (uses simplelru) — ",[19,165],{"mod":166},"darvaza.org\u002Fresolver",[161,168,169,170],{},"Structured logging — ",[19,171],{"mod":172},"darvaza.org\u002Fslog",{"title":174,"searchDepth":175,"depth":175,"links":176},"",2,[177,178],{"id":63,"depth":175,"text":64},{"id":155,"depth":175,"text":156},[180,181],"darvaza","go","Generic cache abstraction with TTL, stampede control, and pluggable backends.","md","MIT",{},true,null,"\u002Fprojects\u002Fdarvaza-cache","github:darvaza-proxy\u002Fcache",{"title":5,"description":182},"projects\u002Fdarvaza-cache","4imr3BxK5fU3oaiGTW2dq4CYXU0xDl83UclUMBPLpes",[194,211,225,238,259,272,288,301,314,327],{"id":195,"title":196,"body":197,"description":204,"extension":183,"kind":205,"meta":206,"navigation":186,"path":207,"seo":208,"stem":209,"__hash__":210},"categories\u002Fcategories\u002Fdarvaza.md","Darvaza",{"type":7,"value":198,"toc":202},[199],[10,200,201],{},"A family of Go libraries for building proxies and networking\ninfrastructure. An open-source project by Apptly Software.",{"title":174,"searchDepth":175,"depth":175,"links":203},[],"Go proxy and networking libraries.","umbrella",{},"\u002Fcategories\u002Fdarvaza",{"title":196,"description":204},"categories\u002Fdarvaza","LsPVpZAnH3RQcxeTw_b2V7YftItUdHiv_U46ek7GiI0",{"id":212,"title":213,"body":214,"description":218,"extension":183,"kind":219,"meta":220,"navigation":186,"path":221,"seo":222,"stem":223,"__hash__":224},"categories\u002Fcategories\u002Fgo.md","Go",{"type":7,"value":215,"toc":216},[],{"title":174,"searchDepth":175,"depth":175,"links":217},[],"Projects written in Go.","language",{},"\u002Fcategories\u002Fgo",{"title":213,"description":218},"categories\u002Fgo","ULWwBCwYo0s0dltCZKbfhGL3VDGzmJrIYgPF0aD381E",{"id":226,"title":227,"body":228,"description":232,"extension":183,"kind":187,"meta":233,"navigation":186,"path":234,"seo":235,"stem":236,"__hash__":237},"categories\u002Fcategories\u002Finfrastructure.md","Infrastructure",{"type":7,"value":229,"toc":230},[],{"title":174,"searchDepth":175,"depth":175,"links":231},[],"Deployment, orchestration, and platform tooling.",{},"\u002Fcategories\u002Finfrastructure",{"title":227,"description":232},"categories\u002Finfrastructure","4zhV0rSeRtvnzmBjj4hYBqXGoRGJ-HXglMTzbbeNURY",{"id":239,"title":240,"body":241,"description":253,"extension":183,"kind":205,"meta":254,"navigation":186,"path":255,"seo":256,"stem":257,"__hash__":258},"categories\u002Fcategories\u002Fkagal.md","Kagal",{"type":7,"value":242,"toc":251},[243],[10,244,245,246,250],{},"Named after the Sumerian ",[247,248,249],"em",{},"Ká.Gal"," (𒆍𒃲, \"Great Gate\"), Kagal is a\ncollection of TypeScript libraries for Cloudflare edge infrastructure\nand related tooling. An open-source project by Apptly Software.",{"title":174,"searchDepth":175,"depth":175,"links":252},[],"TypeScript libraries for Cloudflare edge infrastructure.",{},"\u002Fcategories\u002Fkagal",{"title":240,"description":253},"categories\u002Fkagal","9lgG7kCfdjUFD8pusQnAwcVCHU0EFn1W_8C33k4-xH0",{"id":260,"title":261,"body":262,"description":266,"extension":183,"kind":187,"meta":267,"navigation":186,"path":268,"seo":269,"stem":270,"__hash__":271},"categories\u002Fcategories\u002Fnetworking.md","Networking",{"type":7,"value":263,"toc":264},[],{"title":174,"searchDepth":175,"depth":175,"links":265},[],"Protocols, transports, and connectivity.",{},"\u002Fcategories\u002Fnetworking",{"title":261,"description":266},"categories\u002Fnetworking","Z3wIzhHCRt3IO9IPRDGzAkEGtYm13UdbarFAC_j9R-E",{"id":273,"title":274,"body":275,"description":282,"extension":183,"kind":205,"meta":283,"navigation":186,"path":284,"seo":285,"stem":286,"__hash__":287},"categories\u002Fcategories\u002Fpoupe.md","Poupe",{"type":7,"value":276,"toc":280},[277],[10,278,279],{},"Material Design component library for Vue. An open-source project\nby Apptly Software.",{"title":174,"searchDepth":175,"depth":175,"links":281},[],"Material Design component library for Vue.",{},"\u002Fcategories\u002Fpoupe",{"title":274,"description":282},"categories\u002Fpoupe","3HdL090wyXtyiBZLconBhol5p15dj1LZIfdqk5VGGuA",{"id":289,"title":290,"body":291,"description":295,"extension":183,"kind":187,"meta":296,"navigation":186,"path":297,"seo":298,"stem":299,"__hash__":300},"categories\u002Fcategories\u002Fsecurity.md","Security",{"type":7,"value":292,"toc":293},[],{"title":174,"searchDepth":175,"depth":175,"links":294},[],"Cryptography, authentication, and PKI.",{},"\u002Fcategories\u002Fsecurity",{"title":290,"description":295},"categories\u002Fsecurity","-vhE3ktjZGJKeNDg9ZbKoF6sRqhmnbaH8fZZYlCvdRc",{"id":302,"title":303,"body":304,"description":308,"extension":183,"kind":187,"meta":309,"navigation":186,"path":310,"seo":311,"stem":312,"__hash__":313},"categories\u002Fcategories\u002Ftooling.md","Tooling",{"type":7,"value":305,"toc":306},[],{"title":174,"searchDepth":175,"depth":175,"links":307},[],"Developer tools, build utilities, and CLI helpers.",{},"\u002Fcategories\u002Ftooling",{"title":303,"description":308},"categories\u002Ftooling","5syL8Jir-4gLAe_4IimZ6zP9SKf-N5XcWHE1-He2YbU",{"id":315,"title":316,"body":317,"description":321,"extension":183,"kind":219,"meta":322,"navigation":186,"path":323,"seo":324,"stem":325,"__hash__":326},"categories\u002Fcategories\u002Ftypescript.md","TypeScript",{"type":7,"value":318,"toc":319},[],{"title":174,"searchDepth":175,"depth":175,"links":320},[],"Projects written in TypeScript.",{},"\u002Fcategories\u002Ftypescript",{"title":316,"description":321},"categories\u002Ftypescript","ZvMEwtpsv0uX1pC0zKQ55ZHChbxJHDqfJXP3XS138pE",{"id":328,"title":329,"body":330,"description":334,"extension":183,"kind":187,"meta":335,"navigation":186,"path":336,"seo":337,"stem":338,"__hash__":339},"categories\u002Fcategories\u002Fui.md","UI",{"type":7,"value":331,"toc":332},[],{"title":174,"searchDepth":175,"depth":175,"links":333},[],"User interface components and design systems.",{},"\u002Fcategories\u002Fui",{"title":329,"description":334},"categories\u002Fui","9pERIpNBwMqn40vshxSDv8QA4NeK9JZrH-ysMGHUzP8",{"darvaza.org\u002Fcache":188,"darvaza.org\u002Fcore":341,"darvaza.org\u002Fpenne":342,"darvaza.org\u002Fresolver":343,"darvaza.org\u002Fslog":344,"darvaza.org\u002Fx\u002Fcmp":345,"darvaza.org\u002Fx\u002Fconfig":346,"darvaza.org\u002Fx\u002Fcontainer":347,"darvaza.org\u002Fx\u002Ffs":348,"darvaza.org\u002Fx\u002Fnet":349,"darvaza.org\u002Fx\u002Fsync":350,"darvaza.org\u002Fx\u002Ftls":351,"darvaza.org\u002Fx\u002Fweb":352},"\u002Fprojects\u002Fdarvaza-core","\u002Fprojects\u002Fdarvaza-penne","\u002Fprojects\u002Fdarvaza-resolver","\u002Fprojects\u002Fdarvaza-slog","\u002Fprojects\u002Fdarvaza-x-cmp","\u002Fprojects\u002Fdarvaza-x-config","\u002Fprojects\u002Fdarvaza-x-container","\u002Fprojects\u002Fdarvaza-x-fs","\u002Fprojects\u002Fdarvaza-x-net","\u002Fprojects\u002Fdarvaza-x-sync","\u002Fprojects\u002Fdarvaza-x-tls","\u002Fprojects\u002Fdarvaza-x-web",1775810536776]