Bug 1038020 - Add caching to One and Done to improve performance

I'm not sure either, and without it I couldn't find another way of caching relationships. I spent quite a bit of time trying to figure that out, so it would have been nice if there had been something in the docs about it.