Cache user_completed_ids and contest_completed_ids