Cache functionality implemented.
- If the user does not specify an interval, cache from today is used.