Implemented per-user caching for TreeView results.