Since the introduction of A/B partitions scheme on Android, dedicated cache partition no longer exists. As for dalvik-cache, update installation is now generally handled by system and as long as you didn't modify it there shouldn't be a reason to wipe that (you can't remove system apps).