Cache granularity
A cache only helps when the cached unit is small enough. A function that takes a whole list misses the cache when one item changes. The same function that takes one item caches per item. Caching also needs hermetic and idempotent steps.
The old build resembled a cached function with about 100 parameters where 2 or 3 always changed. Its hit rate was close to zero.