Cache series counts on dashboard sidebar

Description

Dashboard sidebars retrieve series counts from the database on every page hit, which is maybe unnecessary. We should cache these counts. The cache time should be configurable.

How to test: Check that the dashboard series count is eventually updated after a series is created / deleted / (un)revealed.

Environment

None

Status

Assignee

Unassigned

Reporter

redsummernight

Roadmap

Browse

Priority

Medium

Affects versions

Fix versions

None

Components

Caching

Difficulty

Medium

Required Access Level

None

Milestone

Internal 0.9
Configure