// optimized retrieval from cache by path if available
NodeImpl cachedNode = DatabasePageManagerCache.cacheLookup(path);
if (fragmentsElementType.isInstance(cachedNode))
{
// check for view access on page element
cachedNode.checkAccess(JetspeedActions.VIEW);
return (BaseFragmentsElement)cachedNode;
}
// retrieve page element from database