Fix cache error handling.
Cachify analytics, and include more ranges.