save cache taking icon size into account.