simplify and optimize common cases
take advantage of get-prefixes with a mock fetcher