We have an issue with 1 of our "card list" components. The card list model fires a AEM query using query builder API to get a list of pages under the current locale node with a particular template type. This result is then iterated to retrieve some properties like Title, Desc, Image, Authors, Date Published etc.. This is then rendered in HTML by HTL with expressions. We are using a max limit on the query to 100.
The component works as expected, however we are observing the Sling model is being instantiated twice. This is adding extra load to the server and negatively impacting the page load performance as well. Further on analysis, we observed removing the img tag in the component fixes the issue. Just adding the img tag ( even with hard coded url instead of sling model reference) causes the issue. We are using 6.4.8.
Any ideas what could be causing this issue would help our investigations.