GetCompletePageTree vs. FindPagesWithCriteria

Vote:
 
I'm wondering what's the best practice. If I have a tree with let's say 300 pages and I want to get 50 of them of a certain PageType. What should I use, GetCompletPageTree and the filter out the PageType or use FindPagesWithCriteria and send in the pagetype as a criteria? I thought the findpageswithcriteria should be better, but I've done some (uncertain) testing and it seems GetCompletPageTree and filter leads to fewer DataFactoryReads in perfmon.
#12908
Mar 25, 2008 18:35
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.