libertybay
-
7/25/2011 3:59:57 PM
Retrieving current document fields efficiently.
What's the recommended method of retrieving custom data fields from the current document in order to minimize database calls? - CMSContext.CurrentDocument.GetValue() for each field, or use one of DocumentHelper.GetDocument(), TreeHelper.SelectSingleNode()?, or another way? If the latter, does it make sense to wrap the call in DataCacheHelper.GetCached<CMS.TreeEngine.TreeNode>?
Thanks!
|