Cache functions enhanced to allow 360000 items