reset cache when it gets to 100,000 elements

this is more predictable than using a time-based approach
perf: test retrieving from cache too
1.4.0