Cache working but not for unique