adds caching to detail level view