Add caching, especially for NoIndex

This adds caching to reduce the requests we do for a particular item to
just that item and its parent. We continue to get the item's parent
every time to get an up-to-date scopeId.
2 files changed