Cache JSON data
Period data cache
- Cache the period data after each calculation
- Return cached data if the subsequent period has the same start & end