add torrent cache, not tested now