I have inherited the support of an application. On an xpage there are on XPages level several data-sources defined e.g.
<xp:dominoView var="view1" viewName="vwOffers" />
<xp:dominoView var="view2" viewName="vwOffersByName"></xp:dominoView>
however, deeper on the XPage a viewpanel control is used with it's own datasource definition
<xp:dominoView var="view3" viewName="vwOffersByFullName"></xp:dominoView>
I am just wondering if this is causing any unnecessary performance? Are the first datasources loaded or not? Or will they be loaded when they are actually loaded when being accessed via a control?
I cannot answer why the datasources are there while not being used. Maybe they are there for debugging purposes or to check different document-sets.