Implement per-user caching for TreeView results.