added cache to mplayer