cache for elections