conf: replace any with generic in conf.Cached
Created by: keegancsmith
This feels like a reasonable use of generics. It moves a potential runtime error (type casting the wrong type) to being a compile time error. Additionally the callsites are easier to read now.
Test Plan: go test