Caches based on interval correctly