PROV-1070 Significant performance improvements

Turns out, MemoryCache gets called a LOT. We don’t check parameters as
extensively in this version but that’s the tradeoff I guess. Still
passes all tests.