When looking up folders, cache results in LRU map so subsequent nodes will not need to execute queries to find their folders.