I have inherited the support of an application. On an xpage there are on XPages level several data-sources defined e.g.
<xp:this.data>
<xp:dominoView var="view1" viewName="vwOffers" />
<xp:dominoView var="view2" viewName="vwOffersByName"></xp:dominoView>
</xp:this.data>
however, deeper on the XPage a viewpanel control is used with it's own datasource definition
<xp:this.data>
<xp:dominoView var="view3" viewName="vwOffersByFullName"></xp:dominoView>
</xp:this.data>
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.