It can mirror but it does not in case of youtube. It just send command to play something and chromecast will directly take data from router not via phone. So just get your play list queue and cast. you are all set. switch off the phone if you want.
Your phone is just your remote and any device...