[backend] add metacache to speed up getbinaryversions