London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

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
Jan 24, 2007 12:33
* 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.