cache for Device#best, make release building work