endOfDirectory(…) cacheToDisc=True doesn’t cache

what’s the point of cacheToDisc=True if it doesnt actually cache anything? now every time you want to go back in an addon it takes forever since nothing is cached. Really annoying when you have a search result in an addon and want to go back you have to enter the search keyword every damn time.