Added caching policy which can be set to a time interval.