Add cache data for minTime / maxTime of records.
Add cache data to mongodb.
Make StatisticCache.js non-blocking.